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

Unified Diff: chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.h

Issue 566863003: Declaring the weak_ptr_factory in proper order. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/supervised/supervised_user_creation_screen.h
diff --git a/chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.h b/chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.h
index ea97e3b8b90ec9b8df61f3cd11891d1561d27d18..694d73712681e23cdbbdbeff2f861a8d40cafbf4 100644
--- a/chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.h
+++ b/chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.h
@@ -128,7 +128,6 @@ class SupervisedUserCreationScreen
void ApplyPicture();
void OnGetSupervisedUsers(const base::DictionaryValue* users);
- base::WeakPtrFactory<SupervisedUserCreationScreen> weak_factory_;
SupervisedUserCreationScreenHandler* actor_;
scoped_ptr<SupervisedUserCreationController> controller_;
@@ -144,6 +143,8 @@ class SupervisedUserCreationScreen
bool apply_photo_after_decoding_;
int selected_image_;
+ base::WeakPtrFactory<SupervisedUserCreationScreen> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(SupervisedUserCreationScreen);
};

Powered by Google App Engine
This is Rietveld 408576698