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

Unified Diff: chrome/browser/resources/options/managed_user_list.js

Issue 183893028: Use a correct scale factor for Gaia avatar images (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: only return an imageset for an actual image set Created 6 years, 10 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/managed_user_list.js
diff --git a/chrome/browser/resources/options/managed_user_list.js b/chrome/browser/resources/options/managed_user_list.js
index 4af84c64c14a89d9d0f8e41c5b07f40cadce22dc..2d4ec61d2e95bbc852d0a915bc899723a4861dbc 100644
--- a/chrome/browser/resources/options/managed_user_list.js
+++ b/chrome/browser/resources/options/managed_user_list.js
@@ -62,8 +62,7 @@ cr.define('options.managedUserOptions', function() {
// Add the avatar.
var iconElement = this.ownerDocument.createElement('img');
iconElement.className = 'profile-img';
- iconElement.style.content =
- imageset(managedUser.iconURL + '@scalefactorx');
+ iconElement.style.content = getProfileAvatarIcon(managedUser.iconURL);
this.appendChild(iconElement);
// Add the profile name.
« no previous file with comments | « chrome/browser/resources/options/manage_profile_overlay.js ('k') | chrome/browser/resources/options/profiles_icon_grid.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698