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

Unified Diff: chrome/browser/policy/cloud/user_policy_signin_service_mobile.cc

Issue 575993002: Fix WeakPtrFactory member ordering in chrome/browser (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/policy/cloud/user_policy_signin_service_mobile.cc
diff --git a/chrome/browser/policy/cloud/user_policy_signin_service_mobile.cc b/chrome/browser/policy/cloud/user_policy_signin_service_mobile.cc
index 7f17fc1c9dfbeea276c9e253182a2b0226710ce6..abd580e48b78d1bc9cbe6888c64b2230f827af82 100644
--- a/chrome/browser/policy/cloud/user_policy_signin_service_mobile.cc
+++ b/chrome/browser/policy/cloud/user_policy_signin_service_mobile.cc
@@ -57,9 +57,9 @@ UserPolicySigninService::UserPolicySigninService(
policy_manager,
signin_manager,
system_request_context),
- weak_factory_(this),
oauth2_token_service_(token_service),
- profile_prefs_(profile->GetPrefs()) {
+ profile_prefs_(profile->GetPrefs()),
+ weak_factory_(this) {
#if defined(OS_IOS)
// iOS doesn't create this service with the Profile; instead it's created
// a little bit later. See UserPolicySigninServiceFactory.

Powered by Google App Engine
This is Rietveld 408576698