[M148] [ozone/wayland]Handle window destruction during surface configure [chromium/src : refs/branch-heads/7778]

0 views
Skip to first unread message

Kramer Ge (Gerrit)

unread,
Jun 25, 2026, 2:16:25 PM (4 days ago) Jun 25
to chrome-che...@chops-service-accounts.iam.gserviceaccount.com, Thomas Anderson, android-bu...@system.gserviceaccount.com, max+watc...@igalia.com, ozone-...@chromium.org, nickdiego+wa...@igalia.com
Attention needed from Thomas Anderson

Kramer Ge voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Thomas Anderson
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement satisfiedLint
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: refs/branch-heads/7778
Gerrit-Change-Id: I8812d780c4e46b42bc1a8302c69e4f2e8256b660
Gerrit-Change-Number: 8006087
Gerrit-PatchSet: 3
Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Attention: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Comment-Date: Thu, 25 Jun 2026 18:16:13 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
unsatisfied_requirement
satisfied_requirement
open
diffy

Kramer Ge (Gerrit)

unread,
Jun 25, 2026, 2:18:18 PM (4 days ago) Jun 25
to chrome-che...@chops-service-accounts.iam.gserviceaccount.com, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, max+watc...@igalia.com, ozone-...@chromium.org, nickdiego+wa...@igalia.com

Kramer Ge voted and added 1 comment

Votes added by Kramer Ge

Code-Review-1

1 comment

Patchset-level comments
File-level comment, Patchset 4 (Latest):
Kramer Ge . resolved

Should abandon, stable is at M149 already

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is blockingCode-Review
    • requirement satisfiedLint
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: refs/branch-heads/7778
    Gerrit-Change-Id: I8812d780c4e46b42bc1a8302c69e4f2e8256b660
    Gerrit-Change-Number: 8006087
    Gerrit-PatchSet: 4
    Gerrit-Comment-Date: Thu, 25 Jun 2026 18:18:09 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    unsatisfied_requirement
    blocking_requirement
    satisfied_requirement
    open
    diffy

    Thomas Anderson (Gerrit)

    unread,
    Jun 25, 2026, 5:35:49 PM (4 days ago) Jun 25
    to chrome-che...@chops-service-accounts.iam.gserviceaccount.com, Kramer Ge, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, max+watc...@igalia.com, ozone-...@chromium.org, nickdiego+wa...@igalia.com
    Attention needed from Kramer Ge

    Thomas Anderson voted and added 1 comment

    Votes added by Thomas Anderson

    Code-Review+1
    Commit-Queue+2

    1 comment

    Patchset-level comments
    Kramer Ge . resolved

    Should abandon, stable is at M149 already

    Thomas Anderson

    M148 is extended stable. I believe we need to merge this.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Kramer Ge
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement is blockingCode-Review
    • requirement satisfiedLint
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: refs/branch-heads/7778
    Gerrit-Change-Id: I8812d780c4e46b42bc1a8302c69e4f2e8256b660
    Gerrit-Change-Number: 8006087
    Gerrit-PatchSet: 4
    Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
    Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
    Gerrit-Attention: Kramer Ge <fang...@chromium.org>
    Gerrit-Comment-Date: Thu, 25 Jun 2026 21:35:34 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Kramer Ge <fang...@chromium.org>
    satisfied_requirement
    blocking_requirement
    open
    diffy

    Kramer Ge (Gerrit)

    unread,
    Jun 26, 2026, 4:04:52 PM (3 days ago) Jun 26
    to chrome-che...@chops-service-accounts.iam.gserviceaccount.com, Thomas Anderson, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, max+watc...@igalia.com, ozone-...@chromium.org, nickdiego+wa...@igalia.com
    Attention needed from Thomas Anderson

    Kramer Ge voted

    Code-Review+1
    Commit-Queue+2
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Thomas Anderson
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedLint
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: refs/branch-heads/7778
    Gerrit-Change-Id: I8812d780c4e46b42bc1a8302c69e4f2e8256b660
    Gerrit-Change-Number: 8006087
    Gerrit-PatchSet: 4
    Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
    Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
    Gerrit-Attention: Thomas Anderson <thomasa...@chromium.org>
    Gerrit-Comment-Date: Fri, 26 Jun 2026 20:04:44 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    Jun 26, 2026, 4:47:27 PM (3 days ago) Jun 26
    to chrome-che...@chops-service-accounts.iam.gserviceaccount.com, Kramer Ge, Thomas Anderson, android-bu...@system.gserviceaccount.com, max+watc...@igalia.com, ozone-...@chromium.org, nickdiego+wa...@igalia.com

    Chromium LUCI CQ submitted the change

    Change information

    Commit message:
    [M148] [ozone/wayland]Handle window destruction during surface configure

    Original change's description:
    > [ozone/wayland]Handle window destruction during surface configure
    >
    > ProcessPendingConfigureState() calls RequestStateFromServer(), which
    > reaches the delegate's OnStateUpdate(). The views layer may
    > synchronously close the widget and destroy the platform window inside
    > that callout. The existing weak-ptr guard in
    > MaybeApplyLatestStateRequest() returns early in that case, but
    > ProcessPendingConfigureState() then continued to access members after
    > the call returned.
    >
    > Add a weak-ptr liveness check around RequestStateFromServer(), mirroring
    > the existing pattern used elsewhere in this file and in
    > WaylandToplevelWindow::HandleToplevelConfigure().
    >
    > Fixed: 518006275
    > Change-Id: I8812d780c4e46b42bc1a8302c69e4f2e8256b660
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7981871
    > Commit-Queue: Kramer Ge <fang...@chromium.org>
    > Reviewed-by: Thomas Anderson <thomasa...@chromium.org>
    > Cr-Commit-Position: refs/heads/main@{#1651724}

    (cherry picked from commit 06d1bbdddd1f176c3443ca2ddb1f1d21dfe9a094)
    Bug: 527756736,518006275
    Change-Id: I8812d780c4e46b42bc1a8302c69e4f2e8256b660
    Reviewed-by: Thomas Anderson <thomasa...@chromium.org>
    Reviewed-by: Kramer Ge <fang...@chromium.org>
    Commit-Queue: Kramer Ge <fang...@chromium.org>
    Cr-Commit-Position: refs/branch-heads/7778@{#4430}
    Cr-Branched-From: 77f495ee216d4c3cc784d33658bad4778c0680ee-refs/heads/main@{#1610480}
    Files:
    • M ui/ozone/platform/wayland/host/wayland_window.cc
    • M ui/ozone/platform/wayland/host/wayland_window_unittest.cc
    Change size: S
    Delta: 2 files changed, 22 insertions(+), 0 deletions(-)
    Branch: refs/branch-heads/7778
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Thomas Anderson, +1 by Kramer Ge
    Open in Gerrit
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: merged
    Gerrit-Project: chromium/src
    Gerrit-Branch: refs/branch-heads/7778
    Gerrit-Change-Id: I8812d780c4e46b42bc1a8302c69e4f2e8256b660
    Gerrit-Change-Number: 8006087
    Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
    Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages