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

Unified Diff: ash/system/user/tray_user.cc

Issue 2911493002: cros: Pull user info from session_controller_client.mojom into separate mojom. (Closed)
Patch Set: Fix ordering in typemaps Created 3 years, 7 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 | « ash/system/supervised/tray_supervised_user.cc ('k') | ash/system/user/tray_user_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/user/tray_user.cc
diff --git a/ash/system/user/tray_user.cc b/ash/system/user/tray_user.cc
index e1e90c8c79c223ea2d90aeeb875659a111e6f2b9..04517bec7e2744a21d516b252d0c186258ad098e 100644
--- a/ash/system/user/tray_user.cc
+++ b/ash/system/user/tray_user.cc
@@ -206,7 +206,7 @@ void TrayUser::UpdateAvatarImage(LoginStatus status) {
const mojom::UserSession* const user_session =
session_controller->GetUserSession(0);
- avatar_->SetImage(user_session->avatar,
+ avatar_->SetImage(user_session->user_info->avatar,
gfx::Size(kTrayItemSize, kTrayItemSize));
// Unit tests might come here with no images for some users.
« no previous file with comments | « ash/system/supervised/tray_supervised_user.cc ('k') | ash/system/user/tray_user_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698