Check for null WebContents in ContentSettingImageView::AnimationEnded.
While location bar user input in progress, GetContentSettingWebContents will return nullptr, but ContentSettingImageView::AnimationEnded is still invoked. Add a check in the latter to make sure we are not checking on a null WebContent if the promo should be shown. Bug: 1054074 Change-Id: I261bceb410478360f6af2d84ddf5e01f5c9e6cc3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2064968Reviewed-by:Dana Fried <dfried@chromium.org> Commit-Queue: Balazs Engedy <engedy@chromium.org> Cr-Commit-Position: refs/heads/master@{#743025}
Showing
Please register or sign in to comment