commit | b50ed35f31c3f2112fcd984151c2f866f577d20e | [log] [tgz] |
---|---|---|
author | Marc Treib <treib@chromium.org> | Wed Jan 10 11:57:18 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jan 10 11:57:18 2018 |
tree | 715b3a569e0512f72d62acd3885dc89f9c3dd3cc | |
parent | d939e0524fa91de2b30db7ea365bd1df3d565acc [diff] |
Incognito NTP: Avoid flashes with themes with a background color The Incognito NTP uses the theme's background color only if the theme also has a background image, otherwise it falls back to the default background color (which is rgb(32,32,32)). This caused flashes when an Incognito NTP is opened with a theme that has a background color but no background image: first the theme's background color was drawn, then as soon as the page loaded, it went back to rgb(32,32,32). This CL fixes the flashes by moving the special background color logic to ThemeService::GetColor. Bug: 21798, 719236 Change-Id: I0c5553ceef95b71a8e0b90e44bd86da83d2b875a Reviewed-on: https://chromium-review.googlesource.com/840028 Commit-Queue: Marc Treib <treib@chromium.org> Reviewed-by: Evan Stade <estade@chromium.org> Cr-Commit-Position: refs/heads/master@{#528284}
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 .