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

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

Issue 10537073: [cros] Fix broken profile image on Options/Change picture page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | « no previous file | chrome/browser/chromeos/login/user_manager_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/user_image_screen.cc
diff --git a/chrome/browser/chromeos/login/user_image_screen.cc b/chrome/browser/chromeos/login/user_image_screen.cc
index 890d54832e59d1d00729ecb29004222d841f6009..c288adee4ae8a056e304ccff64e0d295003f4d95 100644
--- a/chrome/browser/chromeos/login/user_image_screen.cc
+++ b/chrome/browser/chromeos/login/user_image_screen.cc
@@ -168,9 +168,8 @@ void UserImageScreen::Observe(int type,
case chrome::NOTIFICATION_PROFILE_IMAGE_UPDATED: {
// We've got a new profile image.
if (actor_) {
- gfx::ImageSkia profile_image(
- *content::Details<const SkBitmap>(details).ptr());
- actor_->AddProfileImage(profile_image);
+ actor_->AddProfileImage(
+ *content::Details<const gfx::ImageSkia>(details).ptr());
}
break;
}
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/user_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698