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

Unified Diff: chrome/browser/resources/settings/people_page/people_page.js

Issue 2241563003: MD Settings / User Manager: fix blurry avatar icons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tests 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/settings/people_page/people_page.js
diff --git a/chrome/browser/resources/settings/people_page/people_page.js b/chrome/browser/resources/settings/people_page/people_page.js
index da7961a3529deb418d5bf444cc81cf6f6818861d..91adf9564fa1b865a19a454357be13929050624f 100644
--- a/chrome/browser/resources/settings/people_page/people_page.js
+++ b/chrome/browser/resources/settings/people_page/people_page.js
@@ -331,4 +331,13 @@ Polymer({
return 'settings:done';
},
+
+ /**
+ * @param {string} iconUrl
+ * @return {string} A CSS imageset for multiple scale factors.
+ * @private
+ */
+ getIconImageset_: function(iconUrl) {
+ return cr.icon.getProfileAvatarIcon(iconUrl);
+ },
});
« no previous file with comments | « chrome/browser/resources/settings/people_page/people_page.html ('k') | chrome/test/data/webui/settings/people_page_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698