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

Unified Diff: chrome/browser/sync_file_system/drive_backend/sync_task_token.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_task_token.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/sync_task_token.cc b/chrome/browser/sync_file_system/drive_backend/sync_task_token.cc
index e00446d8c98d18d41c83b29826a19419d6f76202..889f1ea30ed124c5558d86550178ac84990d7593 100644
--- a/chrome/browser/sync_file_system/drive_backend/sync_task_token.cc
+++ b/chrome/browser/sync_file_system/drive_backend/sync_task_token.cc
@@ -24,7 +24,7 @@ scoped_ptr<SyncTaskToken> SyncTaskToken::CreateForTesting(
base::WeakPtr<SyncTaskManager>(),
base::ThreadTaskRunnerHandle::Get(),
kTestingTaskTokenID,
- scoped_ptr<TaskBlocker>(),
+ nullptr, // task_blocker
callback));
}
@@ -36,7 +36,7 @@ scoped_ptr<SyncTaskToken> SyncTaskToken::CreateForForegroundTask(
manager,
task_runner,
kForegroundTaskTokenID,
- scoped_ptr<TaskBlocker>(),
+ nullptr, // task_blocker
SyncStatusCallback()));
}

Powered by Google App Engine
This is Rietveld 408576698