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

Unified Diff: chrome/browser/resources/ntp4/most_visited_page.js

Issue 11762004: Make favicons for about:history and about:bookmarks switch from lodpi to hidpi when dragging browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 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
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..f5d3232707618c2b9c086104b633d25d596719a6 100644
--- a/chrome/browser/resources/ntp4/most_visited_page.js
+++ b/chrome/browser/resources/ntp4/most_visited_page.js
@@ -94,9 +94,9 @@ 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);
+ chrome.send('getFaviconDominantColor',
+ [get1xFaviconUrl(data.url), this.id]);
var title = this.querySelector('.title');
title.textContent = data.title;

Powered by Google App Engine
This is Rietveld 408576698