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

Unified Diff: chrome/browser/sync_file_system/drive_backend/sync_engine.cc

Issue 26594002: Chrome sync: Put WeakPtrFactory members at the end (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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_file_system/drive_backend/sync_engine.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/sync_engine.cc b/chrome/browser/sync_file_system/drive_backend/sync_engine.cc
index c4bdb4db1d47a406b0d0d8d6139c4ccb52841a70..fd7adb9460b4b6f12353ba1597e4e58bde0f2f13 100644
--- a/chrome/browser/sync_file_system/drive_backend/sync_engine.cc
+++ b/chrome/browser/sync_file_system/drive_backend/sync_engine.cc
@@ -28,8 +28,8 @@ SyncEngine::SyncEngine(
drive_service_(drive_service.Pass()),
notification_manager_(notification_manager),
extension_service_(extension_service),
- weak_ptr_factory_(this),
- task_manager_(weak_ptr_factory_.GetWeakPtr()) {
+ task_manager_(weak_ptr_factory_.GetWeakPtr()),
+ weak_ptr_factory_(this) {
}
SyncEngine::~SyncEngine() {

Powered by Google App Engine
This is Rietveld 408576698