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

Unified Diff: chrome/browser/chromeos/login/existing_user_controller.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/existing_user_controller.h
diff --git a/chrome/browser/chromeos/login/existing_user_controller.h b/chrome/browser/chromeos/login/existing_user_controller.h
index 0ce80fe315ad90959cc80abab1da4d0444358378..6fedb17f952bc57aa172aae53104f2c90e616491 100644
--- a/chrome/browser/chromeos/login/existing_user_controller.h
+++ b/chrome/browser/chromeos/login/existing_user_controller.h
@@ -277,9 +277,6 @@ class ExistingUserController : public LoginDisplay::Delegate,
// Used for notifications during the login process.
content::NotificationRegistrar registrar_;
- // Factory of callbacks.
- base::WeakPtrFactory<ExistingUserController> weak_factory_;
-
// The displayed email for the next login attempt set by |SetDisplayEmail|.
std::string display_email_;
@@ -335,6 +332,9 @@ class ExistingUserController : public LoginDisplay::Delegate,
FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, ExistingUserLogin);
+ // Factory of callbacks.
+ base::WeakPtrFactory<ExistingUserController> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(ExistingUserController);
};

Powered by Google App Engine
This is Rietveld 408576698