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

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

Issue 16943018: Fix favicons in Other Devices page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup description Created 7 years, 6 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/ntp_android/ntp_android.js
diff --git a/chrome/browser/resources/ntp_android/ntp_android.js b/chrome/browser/resources/ntp_android/ntp_android.js
index 4e61603ccfa5c751f5d1af18c30905f7049d28b6..f1f87eaf5089f75c9e5a160ee022d2f1853492b8 100644
--- a/chrome/browser/resources/ntp_android/ntp_android.js
+++ b/chrome/browser/resources/ntp_android/ntp_android.js
@@ -1796,6 +1796,9 @@ cr.define('ntp', function() {
// use a section divider.
var needSectionDivider =
(tabNum + 1 == tabs.length) && (winNum + 1 < windows.length);
+ tab.icon = tab.icon ||
+ 'chrome://session-favicon/size/16@1x/' + tab.url;
+
openTabsList.push({
timestamp: tab.timestamp,
title: tab.title,
@@ -1804,7 +1807,7 @@ cr.define('ntp', function() {
winNum: winNum,
sessionId: tab.sessionId,
icon: tab.icon,
- iconSize: 32,
+ iconSize: 16,
divider: needSectionDivider ? 'section' : 'standard',
});
}
« 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