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

Unified Diff: chrome/browser/sync_file_system/local/local_file_sync_context.cc

Issue 2334613003: Re-write many calls to WrapUnique() with MakeUnique() (Closed)
Patch Set: Changes from review by sky Created 4 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/local/local_file_sync_context.cc
diff --git a/chrome/browser/sync_file_system/local/local_file_sync_context.cc b/chrome/browser/sync_file_system/local/local_file_sync_context.cc
index db114e2cf4462b2724a9874d5ed78cb6927c0a19..ed2309ae5086a5aa06a1bd3b5b656e0f3d2d4d2f 100644
--- a/chrome/browser/sync_file_system/local/local_file_sync_context.cc
+++ b/chrome/browser/sync_file_system/local/local_file_sync_context.cc
@@ -912,8 +912,7 @@ void LocalFileSyncContext::DidGetWritingStatusForSync(
DCHECK(file_util);
base::File::Error file_error = file_util->GetFileInfo(
- base::WrapUnique(new FileSystemOperationContext(file_system_context))
- .get(),
+ base::MakeUnique<FileSystemOperationContext>(file_system_context).get(),
url, &file_info, &platform_path);
storage::ScopedFile snapshot;
« no previous file with comments | « chrome/browser/sync_file_system/drive_backend/sync_engine.cc ('k') | chrome/browser/usb/usb_chooser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698