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

Unified Diff: chrome/browser/sync/test_profile_sync_service.cc

Issue 26594002: Chrome sync: Put WeakPtrFactory members at the end (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge (see prior patch for try jobs) Created 7 years, 2 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/sync/test_profile_sync_service.cc
diff --git a/chrome/browser/sync/test_profile_sync_service.cc b/chrome/browser/sync/test_profile_sync_service.cc
index 92d3828497133c0411ae924b349e663ed140ff39..04ec46d129a9c2f351a4416cec951c4f6aa5d4a8 100644
--- a/chrome/browser/sync/test_profile_sync_service.cc
+++ b/chrome/browser/sync/test_profile_sync_service.cc
@@ -43,13 +43,13 @@ SyncBackendHostForProfileSyncTest::SyncBackendHostForProfileSyncTest(
syncer::StorageOption storage_option)
: browser_sync::SyncBackendHost(
profile->GetDebugName(), profile, sync_prefs),
- weak_ptr_factory_(this),
id_factory_(id_factory),
callback_(callback),
fail_initial_download_(fail_initial_download),
set_initial_sync_ended_on_init_(set_initial_sync_ended_on_init),
synchronous_init_(synchronous_init),
- storage_option_(storage_option) {}
+ storage_option_(storage_option),
+ weak_ptr_factory_(this) {}
SyncBackendHostForProfileSyncTest::~SyncBackendHostForProfileSyncTest() {}

Powered by Google App Engine
This is Rietveld 408576698