You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[views] Eliminate OnWidgetClosing from NudgeWidgetObserver
Favor OnWidgetDestroying over OnWidgetClosing. OnWidgetClosing is
only called where a Widget is closed directly, it fails to catch
the case when the system destroys the NativeWidget directly. This
can result in UAFs in situations where the OS directly destroys
the widget.
OnWidgetDestroying will be called every time a widget is destroyed
and should be used instead in most cases.
Bug: 1240365
Change-Id: I043635fcfcc9a52dd68b21f4f9c37539bc0d7f34
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3641295
Reviewed-by: Ahmed Mehfooz <amehfooz@chromium.org>
Commit-Queue: Thomas Lukaszewicz <tluk@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1002735}
0 commit comments