commit | b0b9e8a10021168b09ea0d37523aae6c3626bad7 | [log] [tgz] |
---|---|---|
author | chuanl <chuanl@google.com> | Wed Feb 20 23:41:23 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Feb 20 23:41:23 2019 |
tree | 7f1e94c902ab71a2c9febca2b8b1555314f4f5f4 | |
parent | b5d5438413e13affdbcf05b25a1f548a9476463e [diff] |
Revert CCT header customization when dynamic module fails to load. For the benefit of a consistent UI, CCT header customization is immediately allowed when module loading is started. When module loading fails, we should revert any customization incurred during module loading. However, this is not happening prior to this CL because maybeCustomizeCctHeader() becomes no-op when module fails to load. We are also using the same criteria as used by CloseButtonNavigator to determine when to customize the header. Bug: 882404 Change-Id: Id58d80abf7cea8ecea0fccdf7f85ebe28970ec6d Reviewed-on: https://chromium-review.googlesource.com/c/1437086 Commit-Queue: John Lin <chuanl@google.com> Reviewed-by: Michael van Ouwerkerk <mvanouwerkerk@chromium.org> Cr-Commit-Position: refs/heads/master@{#633949}
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 .