| Index: chrome/browser/resources/ntp4/most_visited_page.js
|
| diff --git a/chrome/browser/resources/ntp4/most_visited_page.js b/chrome/browser/resources/ntp4/most_visited_page.js
|
| index 7a6c43cf63d1566170535a596cc338aac3c93bc9..aea340239f3445eeeb366678f50b3f8c43b0b695 100644
|
| --- a/chrome/browser/resources/ntp4/most_visited_page.js
|
| +++ b/chrome/browser/resources/ntp4/most_visited_page.js
|
| @@ -94,9 +94,12 @@ cr.define('ntp', function() {
|
| this.classList.add('focusable');
|
|
|
| var faviconDiv = this.querySelector('.favicon');
|
| - var faviconUrl = getFaviconUrl(data.url);
|
| - faviconDiv.style.backgroundImage = url(faviconUrl);
|
| - chrome.send('getFaviconDominantColor', [faviconUrl, this.id]);
|
| + faviconDiv.style.backgroundImage = getFaviconImageSet(data.url);
|
| +
|
| + // The favicon should have the same dominant color regardless of the
|
| + // device pixel ratio the favicon is requested for.
|
| + chrome.send('getFaviconDominantColor',
|
| + [getFaviconUrlForCurrentDevicePixelRatio(data.url), this.id]);
|
|
|
| var title = this.querySelector('.title');
|
| title.textContent = data.title;
|
|
|