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

Unified Diff: ios/chrome/app/resources/history/history.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/history.js
diff --git a/ios/chrome/app/resources/history/history.js b/ios/chrome/app/resources/history/history.js
index 6ace64b6ee7d69aebfce9747609c5b608614b997..877069ea3f31f4e3dbc5b5d30a87959dd15b38d7 100644
--- a/ios/chrome/app/resources/history/history.js
+++ b/ios/chrome/app/resources/history/history.js
@@ -433,7 +433,7 @@ Visit.prototype.getVisitAttemptDOM_ = function() {
* @private
*/
Visit.prototype.addFaviconToElement_ = function(el) {
- var url = cr.icon.getFaviconImageSet(this.url_, 32, 'touch-icon');
+ var url = cr.icon.getFavicon(this.url_, 32, 'touch-icon');
el.style.backgroundImage = url;
chrome.requestFavicon(el, url);
};

Powered by Google App Engine
This is Rietveld 408576698