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

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

Issue 14063002: Fix uninitialized variable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « no previous file | no next file » | 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 16b24414a81f6d42f88c87c5db7cb7d4acbccc86..a6cefde9ef7453df9e8c3e92848dfdc98348ef79 100644
--- a/chrome/browser/chromeos/login/user_image_screen.cc
+++ b/chrome/browser/chromeos/login/user_image_screen.cc
@@ -35,12 +35,10 @@ const char kProfileDownloadReason[] = "OOBE";
UserImageScreen::UserImageScreen(ScreenObserver* screen_observer,
UserImageScreenActor* actor)
: WizardScreen(screen_observer),
- actor_(actor) {
+ actor_(actor),
+ profile_picture_enabled_(false) {
actor_->SetDelegate(this);
- registrar_.Add(this, chrome::NOTIFICATION_PROFILE_IMAGE_UPDATED,
- content::NotificationService::AllSources());
- registrar_.Add(this, chrome::NOTIFICATION_PROFILE_IMAGE_UPDATE_FAILED,
- content::NotificationService::AllSources());
+ SetProfilePictureEnabled(true);
}
UserImageScreen::~UserImageScreen() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698