Commit 9fca9624 authored by antrim@chromium.org's avatar antrim@chromium.org

Fix uninitialized variable


BUG=229840


Review URL: https://chromiumcodereview.appspot.com/14063002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193400 0039d316-1c4b-4281-b951-d872f2087c98
parent 062a6911
......@@ -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() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment