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

Unified Diff: chrome/browser/resources/options/search_engine_manager_engine_list.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/options/search_engine_manager_engine_list.js
diff --git a/chrome/browser/resources/options/search_engine_manager_engine_list.js b/chrome/browser/resources/options/search_engine_manager_engine_list.js
index 5d5a571200df38f3b24a6d5999e655e89891ec15..71f3c2139bca64a52d1df8f5504d726d5b7a68e3 100644
--- a/chrome/browser/resources/options/search_engine_manager_engine_list.js
+++ b/chrome/browser/resources/options/search_engine_manager_engine_list.js
@@ -99,9 +99,7 @@ cr.define('options.search_engines', function() {
var faviconDivEl = this.ownerDocument.createElement('div');
faviconDivEl.className = 'favicon';
if (!this.isPlaceholder) {
- faviconDivEl.style.backgroundImage =
- url('chrome://favicon/iconurl@' + window.devicePixelRatio + 'x/' +
- engine.iconURL);
kevers 2013/01/04 20:21:10 Has this change been thoroughly tested? It appears
pkotwicz 2013/01/04 21:21:39 Thanks for catching this Kevin! chrome://favicon/i
+ faviconDivEl.style.backgroundImage = getFaviconImageSet(engine.iconURL);
}
nameColEl.appendChild(faviconDivEl);

Powered by Google App Engine
This is Rietveld 408576698