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

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

Issue 2703663004: [Local NTP] Fix missing border around suggestion tiles (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | 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.js
diff --git a/chrome/browser/resources/local_ntp/local_ntp.js b/chrome/browser/resources/local_ntp/local_ntp.js
index e547e3e590c894eb8f091cdde8b3a949c8c1239c..750c4b3e1cdf511abdbba890455762f862128c40 100644
--- a/chrome/browser/resources/local_ntp/local_ntp.js
+++ b/chrome/browser/resources/local_ntp/local_ntp.js
@@ -199,10 +199,8 @@ function renderTheme() {
// Inform the most visited iframe of the new theme.
var themeinfo = {cmd: 'updateTheme'};
- if (!info.usingDefaultTheme) {
Marc Treib 2017/02/17 17:55:49 Here's where the NTP failed to pass the border col
- themeinfo.tileBorderColor = convertToRGBAColor(info.sectionBorderColorRgba);
- themeinfo.tileHoverBorderColor = convertToRGBAColor(info.headerColorRgba);
- }
+ themeinfo.tileBorderColor = convertToRGBAColor(info.sectionBorderColorRgba);
+ themeinfo.tileHoverBorderColor = convertToRGBAColor(info.headerColorRgba);
themeinfo.isThemeDark = isThemeDark;
var titleColor = NTP_DESIGN.titleColor;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698