commit | 87f297b2473f64fd56724add74f06392257d1d69 | [log] [tgz] |
---|---|---|
author | Quan Nguyen <qnnguyen@chromium.org> | Sat Dec 15 00:31:05 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Dec 15 00:31:05 2018 |
tree | feda95efb6e31a98414cf26d44ac4343c6e8b43a | |
parent | 0c106ac5879a768a9a37f65e13977682ece96a6c [diff] |
cros: fix a crash that occurs after removing a user Clicking on the "remove user" button the second time would trigger an animation and then start tearing down the widget tree for the user to be removed (as well as the user menu bubble). To prevent these two actions from racing, we immediately hide the user menu widget before starting the teardown. We also check the widget state early in key/mouse event handlers to prevent crashes that could happen due to events on an orphaned view that hasn't been deleted yet. Bug: 912658 Change-Id: Iccefd785b5a7c8c97829e973bb4f132c406cf58f Reviewed-on: https://chromium-review.googlesource.com/c/1379219 Reviewed-by: Jacob Dufault <jdufault@chromium.org> Commit-Queue: Quan Nguyen <qnnguyen@chromium.org> Cr-Commit-Position: refs/heads/master@{#616892}
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 .