Tweaks to app modal dialog shutdown.
Make sure that an invalidated dialog doesn't call AppModalDialogQueue::ShowNextDialog() during shutdown. This could potentially cause issues as it causes ShowNextDialog to be reentrant, which doesn't seem intentional. Also remove an unnecessary check: the active dialog is not in the dialog queue so we don't need to check the queue against the active dialog when hiding a batch of dialogs. Bug: 1060986 Change-Id: I962a5cf14c3f5b67d287de61464b604dbe96aaf7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2295822 Commit-Queue: Evan Stade <estade@chromium.org> Reviewed-by:Avi Drissman <avi@chromium.org> Cr-Commit-Position: refs/heads/master@{#789242}
Showing
Please register or sign in to comment