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

Unified Diff: chrome/browser/chromeos/login/user_controller.cc

Issue 7590002: [cros] Added histograms for user image usage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: No write to map for default images Created 9 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/chromeos/login/user_controller.cc
diff --git a/chrome/browser/chromeos/login/user_controller.cc b/chrome/browser/chromeos/login/user_controller.cc
index 8f11e92f710b9f78f884fa33518343ba868a512a..c9e1832bd1d170a1611051bd004894b155cce0ff 100644
--- a/chrome/browser/chromeos/login/user_controller.cc
+++ b/chrome/browser/chromeos/login/user_controller.cc
@@ -209,7 +209,7 @@ gfx::Rect UserController::GetMainInputScreenBounds() const {
void UserController::OnUserImageChanged(UserManager::User* user) {
if (user_.email() != user->email())
return;
- user_.set_image(user->image());
+ user_.SetImage(user->image(), user->default_image_index());
// Controller might exist without windows,
// i.e. if user pod doesn't fit on the screen.
if (user_view_)
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/user_image_screen.cc » ('j') | chrome/browser/chromeos/login/user_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698