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

Unified Diff: components/sync_driver/model_association_manager.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/sync_driver/model_association_manager.cc
diff --git a/components/sync_driver/model_association_manager.cc b/components/sync_driver/model_association_manager.cc
index 05ef0ab5109daf2717e02693555ab3c467d86396..658b1bfc494ee6d8c1f1dd574f0b682c039ebd3f 100644
--- a/components/sync_driver/model_association_manager.cc
+++ b/components/sync_driver/model_association_manager.cc
@@ -114,8 +114,8 @@ ModelAssociationManager::ModelAssociationManager(
: state_(IDLE),
controllers_(controllers),
delegate_(processor),
- weak_ptr_factory_(this),
- configure_status_(DataTypeManager::UNKNOWN) {
+ configure_status_(DataTypeManager::UNKNOWN),
+ weak_ptr_factory_(this) {
// Ensure all data type controllers are stopped.
for (DataTypeController::TypeMap::const_iterator it = controllers_->begin();
it != controllers_->end(); ++it) {

Powered by Google App Engine
This is Rietveld 408576698