Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4263)

Unified Diff: chrome/browser/resources/local_ntp/local_ntp_fast.js

Issue 1007323008: [New Tab Page] Change color format used by NTP_DESIGN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/local_ntp/local_ntp_design.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/local_ntp/local_ntp_fast.js
diff --git a/chrome/browser/resources/local_ntp/local_ntp_fast.js b/chrome/browser/resources/local_ntp/local_ntp_fast.js
index 664dd6f6b96c45ab27bde744e85f329f7947957c..520f8420febdcfe4bb06b2735faadfee09b843f5 100644
--- a/chrome/browser/resources/local_ntp/local_ntp_fast.js
+++ b/chrome/browser/resources/local_ntp/local_ntp_fast.js
@@ -241,9 +241,9 @@ function renderTheme() {
var titleColor = NTP_DESIGN.titleColor;
if (!info.usingDefaultTheme && info.textColorRgba) {
- titleColor = convertToRRGGBBAAColor(info.textColorRgba);
+ themeinfo.tileTitleColor = info.textColorRgba;
} else if (isThemeDark) {
- NTP_DESIGN.titleColorAgainstDark;
+ titleColor = NTP_DESIGN.titleColorAgainstDark;
}
themeinfo.tileTitleColor = convertToRGBAColor(titleColor);
« no previous file with comments | « chrome/browser/resources/local_ntp/local_ntp_design.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698