commit | bc5f3bc8745c7deea9536300ad4740b76e44d812 | [log] [tgz] |
---|---|---|
author | Yining Wang <yiningwang@google.com> | Wed May 15 18:23:16 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed May 15 18:23:16 2019 |
tree | 173cc07d6da3c7e956fd32c8e91cfed664186ac6 | |
parent | f90e71ab8d479378105825656e888827cb46b230 [diff] |
Fix BadgeServiceImpl::IsInApp FindBrowserWithWebContents() may return null in some cases. This cl check the return value first to avoid potential crahsed. Bug: 962412 Change-Id: I4289155d2c95f4cf80d667b24b17fb94a9e4569c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1612578 Reviewed-by: Eric Stevenson <estevenson@chromium.org> Commit-Queue: Yining Wang <yiningwang@google.com> Cr-Commit-Position: refs/heads/master@{#660032}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .