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

Unified Diff: chrome/browser/resources/history/history.js

Issue 1919183005: Cleanup: Extract icon related methods outside of util.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename favicon.html to icon.html Created 4 years, 7 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/history/history.js
diff --git a/chrome/browser/resources/history/history.js b/chrome/browser/resources/history/history.js
index 1fac504289677490a86c213c43c2763319b33ca9..64458dbeeffcd49eb197ab8f3a36be5c72c75ff1 100644
--- a/chrome/browser/resources/history/history.js
+++ b/chrome/browser/resources/history/history.js
@@ -462,7 +462,7 @@ Visit.prototype.loadFavicon_ = function(faviconDiv) {
img.onload = this.onLargeFaviconLoadedAndroid_.bind(this, faviconDiv);
img.src = 'chrome://large-icon/' + desiredPixelSize + '/' + this.url_;
} else {
- faviconDiv.style.backgroundImage = getFaviconImageSet(this.url_);
+ faviconDiv.style.backgroundImage = cr.icon.getFaviconImageSet(this.url_);
}
};

Powered by Google App Engine
This is Rietveld 408576698