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

Unified Diff: chrome/browser/resources/options/profiles_icon_grid.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/profiles_icon_grid.js
diff --git a/chrome/browser/resources/options/profiles_icon_grid.js b/chrome/browser/resources/options/profiles_icon_grid.js
index 6e2d17b45dca3cdf4614d142fdca2bf9d0e34106..9d0401d0df354ed00ae2e062dc95595f371d150e 100644
--- a/chrome/browser/resources/options/profiles_icon_grid.js
+++ b/chrome/browser/resources/options/profiles_icon_grid.js
@@ -37,7 +37,7 @@ cr.define('options', function() {
ListItem.prototype.decorate.call(this);
var imageEl = cr.doc.createElement('img');
imageEl.className = 'profile-icon';
- imageEl.style.content = cr.icon.getProfileAvatarIcon(this.iconURL_);
+ imageEl.style.content = cr.icon.getImage(this.iconURL_);
this.appendChild(imageEl);
this.className = 'profile-icon-grid-item';

Powered by Google App Engine
This is Rietveld 408576698