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

Unified Diff: components/policy/core/common/cloud/user_cloud_policy_store.cc

Issue 554233002: Refactoring the WeakPtrFactory usage, Member variables should appear before the WeakPtrFactory, to … (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: components/policy/core/common/cloud/user_cloud_policy_store.cc
diff --git a/components/policy/core/common/cloud/user_cloud_policy_store.cc b/components/policy/core/common/cloud/user_cloud_policy_store.cc
index 0d8919072ca9e1453bfc567d97a07c3c660a18b2..1faaba7b56b18fb69ccca33bed00db4c94a27fa8 100644
--- a/components/policy/core/common/cloud/user_cloud_policy_store.cc
+++ b/components/policy/core/common/cloud/user_cloud_policy_store.cc
@@ -168,10 +168,10 @@ UserCloudPolicyStore::UserCloudPolicyStore(
const std::string& verification_key,
scoped_refptr<base::SequencedTaskRunner> background_task_runner)
: UserCloudPolicyStoreBase(background_task_runner),
- weak_factory_(this),
policy_path_(policy_path),
key_path_(key_path),
- verification_key_(verification_key) {}
+ verification_key_(verification_key),
+ weak_factory_(this) {}
UserCloudPolicyStore::~UserCloudPolicyStore() {}

Powered by Google App Engine
This is Rietveld 408576698