Chromium Code Reviews| Index: chrome/browser/ui/webui/ntp/ntp_resource_cache.cc |
| diff --git a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc |
| index 21df0d4bdfc38284e786976630d3262ad46bebf0..29b4b89327c45a7b8ece814c4e6520e8eef0bf3e 100644 |
| --- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc |
| +++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc |
| @@ -579,8 +579,6 @@ void NTPResourceCache::CreateNewTabCSS() { |
| substitutions["colorSectionBorder"] = |
| SkColorToRGBAString(color_section_border); |
| substitutions["colorTextLight"] = SkColorToRGBAString(color_text_light); |
| - substitutions["colorSectionBorder"] = |
| - SkColorToRGBComponents(color_section_border); |
|
Peter Kasting
2016/10/27 22:29:10
The first addition was as a string, this one as co
hans
2016/10/27 22:44:38
Hmm, you're right. I was assuming an RGBA string a
dschuyler
2016/10/27 23:07:34
I think that I didn't notice that there were two
p
hans
2016/10/27 23:13:07
Sounds good to me. New patch uploaded.
|
| substitutions["colorText"] = SkColorToRGBComponents(color_text); |
| // For themes that right-align the background, we flip the attribution to the |