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
Manual cherry-pick of patch originally reviewed on
https://chromium-review.googlesource.com/c/chromium/src/+/6757109:
Check for existence of this in `DialogDelegate::RunCloseCallback`
Similarly to https://crrev.com/c/6370014 for the repeated callback
variant, widget can get destroyed after running OnceClosure. Since in
case of OnceClosure `already_started_close_` is just assigned to true,
return it directly after running the callback instead of returning
possibly destroyed member at the end.
Fixed: 431668129
Change-Id: I6848d351fb3776a82568300d148b4b9189f52078
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6757109
Commit-Queue: Rafał Godlewski <rgod@google.com>
Reviewed-by: Keren Zhu <kerenzhu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1487815}
Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/665028
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
0 commit comments