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

Unified Diff: chrome/browser/resources/options/search_engine_manager_engine_list.js

Issue 2280853002: Slightly nicer icon.js APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 3d2f8f9854f6963ee22da6bc5dd18b295511fa92..7284ae9ca3af9400ce12a94b3f6e854ae31c6312 100644
--- a/chrome/browser/resources/options/search_engine_manager_engine_list.js
+++ b/chrome/browser/resources/options/search_engine_manager_engine_list.js
@@ -123,9 +123,9 @@ cr.define('options.search_engines', function() {
var faviconDivEl = this.ownerDocument.createElement('div');
faviconDivEl.className = 'favicon';
if (!this.isPlaceholder) {
- faviconDivEl.style.backgroundImage = cr.icon.getFaviconImageSet(
- // Force default icon if no iconURL is available.
- engine.iconURL || '');
+ // Force default icon if no iconURL is available.
+ faviconDivEl.style.backgroundImage =
+ cr.icon.getFavicon(engine.iconURL || '');
}
nameColEl.appendChild(faviconDivEl);

Powered by Google App Engine
This is Rietveld 408576698