Stop nullptr failures in ambient badge hiding.
This CL: a) null-checks the InfoBarService before using it in ambient badges b) stops double-hiding the ambient badge if the user clicks on it. This is a speculative fix for a crash. BUG=989445 Change-Id: Ifb690580ca857701474074640c2a47aafbe642a2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1794602 Commit-Queue: Dominick Ng <dominickn@chromium.org> Reviewed-by:Alan Cutter <alancutter@chromium.org> Cr-Commit-Position: refs/heads/master@{#695437}
Showing
Please register or sign in to comment