[M151] [Ozone/Wayland]Add window manager GetAllWindowsAsWeakPtr() [chromium/src : refs/branch-heads/7922]

0 views
Skip to first unread message

chrome-cherry-picker@chops-service-accounts.iam.gserviceaccount.com (Gerrit)

unread,
Jul 14, 2026, 10:49:15 AM (9 days ago) Jul 14
to android-bu...@system.gserviceaccount.com, nickdiego+wa...@igalia.com, max+watc...@igalia.com, ozone-...@chromium.org

chrome-che...@chops-service-accounts.iam.gserviceaccount.com voted Auto-Submit+1

Auto-Submit+1
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement 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/7922
Gerrit-Change-Id: I06109f25e6a1d9588fb55e930bc5ba81e82f6267
Gerrit-Change-Number: 8092150
Gerrit-PatchSet: 2
Gerrit-CC: Kramer Ge <fang...@chromium.org>
Gerrit-Comment-Date: Tue, 14 Jul 2026 14:48:51 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

rubber-stamper@appspot.gserviceaccount.com (Gerrit)

unread,
Jul 14, 2026, 10:50:27 AM (9 days ago) Jul 14
to chrome-che...@chops-service-accounts.iam.gserviceaccount.com, android-bu...@system.gserviceaccount.com, nickdiego+wa...@igalia.com, max+watc...@igalia.com, ozone-...@chromium.org

Related details

Attention set is empty
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/7922
Gerrit-Change-Id: I06109f25e6a1d9588fb55e930bc5ba81e82f6267
Gerrit-Change-Number: 8092150
Gerrit-PatchSet: 2
Gerrit-Comment-Date: Tue, 14 Jul 2026 14:50:14 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
Jul 14, 2026, 12:12:09 PM (9 days ago) Jul 14
to chrome-che...@chops-service-accounts.iam.gserviceaccount.com, Kramer Ge, rubber-...@appspot.gserviceaccount.com, android-bu...@system.gserviceaccount.com, nickdiego+wa...@igalia.com, max+watc...@igalia.com, ozone-...@chromium.org

Chromium LUCI CQ submitted the change

Change information

Commit message:
[M151] [Ozone/Wayland]Add window manager GetAllWindowsAsWeakPtr()

Original change's description:
> [Ozone/Wayland]Add window manager GetAllWindowsAsWeakPtr()
>
> A class of uaf are caused by direct/indirect delegate OnStatusUpdate()
> calls. Notably iterating on GetAllWindows() while the delegate may
> destroy the window and its descendant windows.
>
> Add GetAllWindowsAsWeakPtr() for callers that need to check for
> potential window destruction.
>
> Bug: 532925350
> Change-Id: I06109f25e6a1d9588fb55e930bc5ba81e82f6267
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8072281
> Reviewed-by: Thomas Anderson <thomasa...@chromium.org>
> Commit-Queue: Kramer Ge <fang...@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1661337}

(cherry picked from commit c9c9c645ab28e5a002c926a456f10a36ac36029c)
Bug: 534618399,532925350
Change-Id: I06109f25e6a1d9588fb55e930bc5ba81e82f6267
Cr-Commit-Position: refs/branch-heads/7922@{#1161}
Cr-Branched-From: 059c884787b1bc15faa5afe5250f7d3a7e0ef64a-refs/heads/main@{#1654411}
Files:
  • M ui/ozone/platform/wayland/host/wayland_buffer_manager_host.cc
  • M ui/ozone/platform/wayland/host/wayland_output_manager.cc
  • M ui/ozone/platform/wayland/host/wayland_window_manager.cc
  • M ui/ozone/platform/wayland/host/wayland_window_manager.h
  • M ui/ozone/platform/wayland/host/wayland_window_manager_unittest.cc
  • M ui/ozone/platform/wayland/wayland_buffer_manager_unittest.cc
Change size: M
Delta: 6 files changed, 109 insertions(+), 7 deletions(-)
Branch: refs/branch-heads/7922
Submit Requirements:
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/7922
Gerrit-Change-Id: I06109f25e6a1d9588fb55e930bc5ba81e82f6267
Gerrit-Change-Number: 8092150
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages