Fix some status bar issues
Fix two issues introduced by https://crrev.com/c/1568092 + Scrim status bar color on pre-L. The old "parity" logic does not work now that we calculate the status bar color instead of passing in a previously used status bar base color. + In tab grid switcher, the url focus percentage can change before #onObservingDifferentTab() is notified, so we need to avoid calling #updateStatusBarColor() in #onUrlExpansionPercentageChanged() with the out-of-date tab. Bug: 952752, 953665 Change-Id: I175b1e2d3136fd5dc190d4ec8cdba2f88888c23d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1572702 Commit-Queue: Becky Zhou <huayinz@chromium.org> Reviewed-by:Theresa <twellington@chromium.org> Reviewed-by:
Matthew Jones <mdjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#652588}
Showing
Please register or sign in to comment