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

Unified Diff: chrome/browser/resources/md_history/synced_device_card.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/md_history/synced_device_card.js
diff --git a/chrome/browser/resources/md_history/synced_device_card.js b/chrome/browser/resources/md_history/synced_device_card.js
index 289809ef35c1cbded83b71fff76da6522accc9dc..2d0b5ffaeececa9d9ec84d736c53bbd3c45c7f1b 100644
--- a/chrome/browser/resources/md_history/synced_device_card.js
+++ b/chrome/browser/resources/md_history/synced_device_card.js
@@ -71,8 +71,7 @@ Polymer({
var icons = Polymer.dom(this.root).querySelectorAll('.website-icon');
for (var i = 0; i < this.tabs.length; i++) {
- icons[i].style.backgroundImage =
- cr.icon.getFaviconImageSet(this.tabs[i].url);
+ icons[i].style.backgroundImage = cr.icon.getFavicon(this.tabs[i].url);
}
});
},

Powered by Google App Engine
This is Rietveld 408576698