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

Unified Diff: chrome/browser/resources/options/supervised_user_list.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/options/supervised_user_list.js
diff --git a/chrome/browser/resources/options/supervised_user_list.js b/chrome/browser/resources/options/supervised_user_list.js
index 40e9a1c1e74577581e1c40c39e1611a4b3408570..ca4a47975ec3a98479930ac014d4dd422d477826 100644
--- a/chrome/browser/resources/options/supervised_user_list.js
+++ b/chrome/browser/resources/options/supervised_user_list.js
@@ -63,8 +63,7 @@ cr.define('options.supervisedUserOptions', function() {
// Add the avatar.
var iconElement = this.ownerDocument.createElement('img');
iconElement.className = 'profile-img';
- iconElement.style.content = cr.icon.getProfileAvatarIcon(
- supervisedUser.iconURL);
+ iconElement.style.content = cr.icon.getImage(supervisedUser.iconURL);
this.appendChild(iconElement);
// Add the profile name.

Powered by Google App Engine
This is Rietveld 408576698