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

Unified Diff: sync/notifier/sync_system_resources.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: sync/notifier/sync_system_resources.cc
diff --git a/sync/notifier/sync_system_resources.cc b/sync/notifier/sync_system_resources.cc
index be50a82212dceb7ff9e7a8acbb801a4a483db708..74dacaa63861ac83f231f5c537718b7c34cb83a7 100644
--- a/sync/notifier/sync_system_resources.cc
+++ b/sync/notifier/sync_system_resources.cc
@@ -61,10 +61,10 @@ void SyncLogger::SetSystemResources(invalidation::SystemResources* resources) {
}
SyncInvalidationScheduler::SyncInvalidationScheduler()
- : weak_factory_(this),
- created_on_loop_(base::MessageLoop::current()),
+ : created_on_loop_(base::MessageLoop::current()),
is_started_(false),
- is_stopped_(false) {
+ is_stopped_(false),
+ weak_factory_(this) {
CHECK(created_on_loop_);
}

Powered by Google App Engine
This is Rietveld 408576698