When the window is destroyed, remove windows from the related variables. There are a few crash issues which could be related with reuse the destroyed window. The crash issues are hard to reproduce. This CL modifies the OnWindowDestroying function. Even if the app id is empty, still check the related structure, e.g. aura_window_to_app_window_, arc_tracker_, to remove the window from all related variables to remove the window. BUG=1128491 BUG=1126493 Change-Id: I842a79f3994b00af08b01c4095b890525655ea87 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2496102 Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Nancy Wang <nancylingwang@chromium.org> Cr-Commit-Position: refs/heads/master@{#820987}
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.
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.