commit | a5fec245a403ffb7aa280c6c151fabdd28aeb961 | [log] [tgz] |
---|---|---|
author | Cici Ruan <cuicuiruan@google.com> | Thu Apr 11 22:39:18 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 11 22:39:18 2024 |
tree | 0068cf5794a4f310cb4590dfde7c939a417179f9 | |
parent | b1b94107a6650bec6338bbb66d8cd9bda6550623 [diff] |
gd: Resolve potential race condition with main menu This CL moves the close main menu call inside of the main menu to the end of each functions to prevent the potential race condition. When destroying itself, the following call after closing menu may get access to invalid addresses. Bug: b/333810851 Test: CQ Test: manual test Change-Id: I96d39d6537e77936160c2ef2608287a6b3235bc0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5430875 Reviewed-by: Ahmed Fakhry <afakhry@chromium.org> Reviewed-by: Prameet Shah <phshah@chromium.org> Commit-Queue: Cici Ruan <cuicuiruan@google.com> Cr-Commit-Position: refs/heads/main@{#1286154}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.