Toolbar: Fix wrong location bar background color
The theme color for location bar background should come from a specified tab, not the current theme color from TopUiThemeColorProvider. This addresses the wrong color when multiple tabs are being presented such as in tab switcher. This CL makes TUTCP#calculateColor public to get the right theme color for a given tab object. Bug: 1157417, 1157433 Change-Id: I10c30a7fc93bf9a21b0d113847651c4138a3c02e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2589135Reviewed-by:Theresa <twellington@chromium.org> Commit-Queue: Jinsuk Kim <jinsukkim@chromium.org> Cr-Commit-Position: refs/heads/master@{#837338}
Showing
Please register or sign in to comment