Index: chrome/browser/dom_ui/ntp_resource_cache.cc |
diff --git a/chrome/browser/dom_ui/ntp_resource_cache.cc b/chrome/browser/dom_ui/ntp_resource_cache.cc |
index 8fd21f47943b68e65bd16f29e3f4f42a367b1144..56b12902fa54fab6d0eddcec8c3fe44eb64cd4c2 100644 |
--- a/chrome/browser/dom_ui/ntp_resource_cache.cc |
+++ b/chrome/browser/dom_ui/ntp_resource_cache.cc |
@@ -459,15 +459,12 @@ void NTPResourceCache::CreateNewTabCSS() { |
subst2.push_back(SkColorToRGBAString( |
color_section_header_text_hover)); // $$9 |
- // A fully transparent version of the background color --- used for gradients. |
+ subst3.push_back(SkColorToRGBAString(color_section_header_rule)); // $$$1 |
subst3.push_back(SkColorToRGBAString( |
- SkColorSetA(color_background, 0))); // $$$1 |
- |
- // TODO(aa): It seems we could generate sensible defaults for all these colors |
- // for better backward compat with old themes. |
- subst3.push_back(SkColorToRGBAString(color_section_header_rule)); // $$$2 |
+ color_section_header_rule_light)); // $$$2 |
subst3.push_back(SkColorToRGBAString( |
- color_section_header_rule_light)); // $$$3 |
+ SkColorSetA(color_section_header_rule, 0))); // $$$3 |
+ |
// Get our template. |
static const base::StringPiece new_tab_theme_css( |