ZoomBubbleView: fix crash when web contents is destroyed/unloaded.
In some cases in this class, we already return early if no Browser is found for the web contents. This updates one callsite of FindBrowserWithWebContents with an early return, and another with a DCHECK. See also crbug.com/737346 Bug: 971468 Change-Id: I04bbc26679d96f58c7a6d6402cde4bec1409375b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1649374 Commit-Queue: Evan Stade <estade@chromium.org> Reviewed-by:Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#668410}
Showing
Please register or sign in to comment