commit | 4da558e06fdbd629d817dddb36af40fcc0f9be8c | [log] [tgz] |
---|---|---|
author | Xi Han <hanxi@google.com> | Wed Dec 14 19:34:53 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Dec 14 19:34:53 2022 |
tree | 378249a9a892f8fde4c46ca60978b9f8d7b90c4e | |
parent | 2008e652c6d874c89bdbdc1d1183166f2309e6ec [diff] |
[StartRefactor] Update the status bar colour at startup. This CL fixes a bug after CL: https://crrev.com/c/4076965. The bug is caused by StatusBarColorController misses the event of Start surface is showing when is registered to the LayoutManger, while ToolbarManager has been updated by checking the active layout when registering. The inconsistent state results to ToolbarManager believes the background colour has been updated, thus no longer notifies the StatusBarColorController to update. Adding a check of the active layout in StatusBarColorController resolves this issue. Bug: 1395504, 1347089 Change-Id: I1ae453d18282ef29ebf2f5dec38166042c46f8a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4089652 Commit-Queue: Xi Han <hanxi@chromium.org> Reviewed-by: Yaron Friedman <yfriedman@chromium.org> Reviewed-by: Matthew Jones <mdjones@chromium.org> Cr-Commit-Position: refs/heads/main@{#1083267}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.