commit | 6d745d78b86e1d8f39522a077950ada02be6c71a | [log] [tgz] |
---|---|---|
author | Jacobo Aragunde Pérez <jaragunde@igalia.com> | Fri Jul 17 11:38:56 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jul 17 11:38:56 2020 |
tree | 6a17964c0d86d14671d7dae9a5a2f4eb3b3974e2 | |
parent | eb807a3513bf65d20fce1838f5d0dfa0780985a3 [diff] |
Check if parent_window exists before clearing transient state. It could happen that the dialog window is closed because the parent window was closed (e.g. Ctrl+C on Chrome running on terminal). In that case, the parent X11Window object doesn't exist any more, and calling it would cause a segfault. Bug: 1104585 Change-Id: I3aee31c5fa9e567f55e0317d9df8c675502ff990 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2300094 Reviewed-by: Thomas Anderson <thomasanderson@chromium.org> Reviewed-by: Nick Yamane <nickdiego@igalia.com> Commit-Queue: Jacobo Aragunde Pérez <jaragunde@igalia.com> Cr-Commit-Position: refs/heads/master@{#789436}
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.