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

Unified Diff: trunk/src/chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc

Issue 260783002: Revert 267158 "CleanUp: Introduce UserInfo. Move session_state s..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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: trunk/src/chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc
===================================================================
--- trunk/src/chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc (revision 267249)
+++ trunk/src/chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc (working copy)
@@ -269,13 +269,13 @@
switch (previous_image_index_) {
case User::kExternalImageIndex: {
// User has image from camera/file, record it and add to the image list.
- previous_image_ = user->GetImage();
+ previous_image_ = user->image();
SendOldImage(webui::GetBitmapDataUrl(*previous_image_.bitmap()));
break;
}
case User::kProfileImageIndex: {
// User has his/her Profile image as the current image.
- SendProfileImage(user->GetImage(), true);
+ SendProfileImage(user->image(), true);
break;
}
default: {

Powered by Google App Engine
This is Rietveld 408576698