This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speculative fix to a crash caused by hitting the dangerous download i…
…nfobar. There is no good explanation of the crash: 1. When clicking on a dangerous download, we set mPendingRequest and start the infobar. 2. When user dismiss the infobar, we reset mPendingRequest. 3. If mPendingRequest is non null, a 2nd request will not trigger any infobar. So at anytime, there are at most 1 dangerous infobar. And if mPendingRequest is non null, there should be an infobar showing, vice versa. So this a speculative fix to the crash from the crash stack we have seen. BUG=579707 Review URL: https://codereview.chromium.org/1614453003 Cr-Commit-Position: refs/heads/master@{#372153}
- Loading branch information