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

Unified Diff: ios/chrome/app/resources/history/other_devices.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: ios/chrome/app/resources/history/other_devices.js
diff --git a/ios/chrome/app/resources/history/other_devices.js b/ios/chrome/app/resources/history/other_devices.js
index 2f5b77d30f2aeaef8afb6483f513071bf5ecbd8f..0da99b34c01002e662df199f4adfeab4062a02a2 100644
--- a/ios/chrome/app/resources/history/other_devices.js
+++ b/ios/chrome/app/resources/history/other_devices.js
@@ -263,7 +263,7 @@ Device.prototype.createSessionContents_ = function(maxNumTabs) {
numTabsShown++;
var a = createElementWithClassName('a', 'device-tab-entry');
a.href = tab.url;
- a.style.backgroundImage = cr.icon.getFaviconImageSet(tab.url);
+ a.style.backgroundImage = cr.icon.getFavicon(tab.url);
this.addHighlightedText_(a, tab.title);
// Add a tooltip, since it might be ellipsized. The ones that are not
// necessary will be removed once added to the document, so we can

Powered by Google App Engine
This is Rietveld 408576698