modal-dialogs: avoid possible NPE
The NPE occurs with the following sequence: 1. show tab-modal dialog. 2. some portion of the containing view hierarchy is removed from a window. 3. dialog dismissed. 4. animation started in 1 finishes, triggering trying to use an object that was set to null. Step 3 needs to cancel the start animation. BUG=1127254 TEST=covered by test Change-Id: I58c80c0a1e8330c0b87b2a56e228d67bc61b2cba Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2406933 Commit-Queue: Scott Violet <sky@chromium.org> Reviewed-by:Theresa <twellington@chromium.org> Cr-Commit-Position: refs/heads/master@{#806696}
Showing
Please register or sign in to comment