Observe WebContents for destruction in PasswordProtectionRequest
This CL observes WebContents and cancels the PasswordProtectionRequest if the WebContents is destroyed. The destruction of WebContents is responsible for at least this ZoomController bug, since I was manually able to reproduce the callstack. The other bugs are added speculatively, since they involve dereferencing the WebContents as well. Bug: 999030, 998218, 927884 Change-Id: I18fcd2ce8b8b6190bc8fed849813cca01b03d3f1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1779579 Commit-Queue: Daniel Rubery <drubery@chromium.org> Reviewed-by:Varun Khaneja <vakh@chromium.org> Cr-Commit-Position: refs/heads/master@{#692327}
Showing
Please register or sign in to comment