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

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

Issue 608133002: [SyncFS] Use nullptr for scoped_ptr initialization (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nullptr
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: 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 a2d6839f8a514f5bf081e389d903d9f6f5c790a6..1fae123e845cb441b56252d0fe583c98d4737224 100644
--- a/chrome/browser/sync_file_system/drive_backend/sync_engine.cc
+++ b/chrome/browser/sync_file_system/drive_backend/sync_engine.cc
@@ -284,8 +284,7 @@ void SyncEngine::Initialize() {
scoped_ptr<drive::DriveUploaderInterface> drive_uploader(
new drive::DriveUploader(drive_service.get(), drive_task_runner_.get()));
- InitializeInternal(drive_service.Pass(), drive_uploader.Pass(),
- scoped_ptr<SyncWorkerInterface>());
+ InitializeInternal(drive_service.Pass(), drive_uploader.Pass(), nullptr);
}
void SyncEngine::InitializeForTesting(

Powered by Google App Engine
This is Rietveld 408576698