Instead of using chrome://touch-icon for favicons this page

 should use chrome://session-favicon like other_devices.js. 

BUG=251818

Review URL: https://chromiumcodereview.appspot.com/16943018

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208016 0039d316-1c4b-4281-b951-d872f2087c98
parent 819c524a
......@@ -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',
});
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment