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

0 views
Skip to first unread message

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

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

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/7871
Gerrit-Change-Id: I06109f25e6a1d9588fb55e930bc5ba81e82f6267
Gerrit-Change-Number: 8092609
Gerrit-PatchSet: 2
Gerrit-CC: Kramer Ge <fang...@chromium.org>
Gerrit-Comment-Date: Tue, 14 Jul 2026 14:49:00 +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:24 AM (9 days ago) Jul 14
to chrome-che...@chops-service-accounts.iam.gserviceaccount.com, android-bu...@system.gserviceaccount.com, nickdiego+wa...@igalia.com, ozone-...@chromium.org, max+watc...@igalia.com

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/7871
Gerrit-Change-Id: I06109f25e6a1d9588fb55e930bc5ba81e82f6267
Gerrit-Change-Number: 8092609
Gerrit-PatchSet: 2
Gerrit-Comment-Date: Tue, 14 Jul 2026 14:50:08 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
Jul 14, 2026, 12:25:38 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, ozone-...@chromium.org, max+watc...@igalia.com

Chromium LUCI CQ submitted the change

Change information

Commit message:
[M150] [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: 534617840,532925350
Change-Id: I06109f25e6a1d9588fb55e930bc5ba81e82f6267
Cr-Commit-Position: refs/branch-heads/7871@{#3414}
Cr-Branched-From: f542126b8c1b3e80104b26bb05ec830bd1206f29-refs/heads/main@{#1639810}
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/7871
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/7871
Gerrit-Change-Id: I06109f25e6a1d9588fb55e930bc5ba81e82f6267
Gerrit-Change-Number: 8092609
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages