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

Unified Diff: chrome/browser/resources/options/browser_options_profile_list.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/options/browser_options_profile_list.js
diff --git a/chrome/browser/resources/options/browser_options_profile_list.js b/chrome/browser/resources/options/browser_options_profile_list.js
index 96adf2fec7bfb27a87dde2c92f426e7a1a3b07cd..b4d6faf8efc36c605914109ac6ea845921d277ad 100644
--- a/chrome/browser/resources/options/browser_options_profile_list.js
+++ b/chrome/browser/resources/options/browser_options_profile_list.js
@@ -50,7 +50,8 @@ cr.define('options.browser_options', function() {
var iconEl = this.ownerDocument.createElement('img');
iconEl.className = 'profile-img';
- iconEl.style.content = getProfileAvatarIcon(profileInfo.iconURL);
+ iconEl.style.content = cr.icon.getProfileAvatarIcon(
+ profileInfo.iconURL);
iconEl.alt = '';
containerEl.appendChild(iconEl);

Powered by Google App Engine
This is Rietveld 408576698