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

Unified Diff: chrome/browser/resources/chromeos/login/user_pod_row.js

Issue 10829166: New Guest mode avatar on the start screen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update Created 8 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
« no previous file with comments | « chrome/app/theme/default_200_percent/login_guest.png ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/login/user_pod_row.js
diff --git a/chrome/browser/resources/chromeos/login/user_pod_row.js b/chrome/browser/resources/chromeos/login/user_pod_row.js
index ed65380a8027904ef74741ff3534adf637f4ca4d..8acd6699f337fe50ef06ba73ab02c1f14bf94c1a 100644
--- a/chrome/browser/resources/chromeos/login/user_pod_row.js
+++ b/chrome/browser/resources/chromeos/login/user_pod_row.js
@@ -324,7 +324,7 @@ cr.define('login', function() {
*/
updateUserImage: function() {
this.imageElement.src = this.isGuest ?
- 'chrome://theme/IDR_LOGIN_GUEST' :
+ 'chrome://theme/IDR_LOGIN_GUEST@' + window.devicePixelRatio + 'x' :
'chrome://userimage/' + this.user.username +
'?id=' + (new Date()).getTime() + '&animated';
},
« no previous file with comments | « chrome/app/theme/default_200_percent/login_guest.png ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698