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

Unified Diff: storage/browser/fileapi/isolated_file_system_backend.cc

Issue 2254183002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « storage/browser/blob/blob_async_builder_host.cc ('k') | storage/browser/fileapi/local_file_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/fileapi/isolated_file_system_backend.cc
diff --git a/storage/browser/fileapi/isolated_file_system_backend.cc b/storage/browser/fileapi/isolated_file_system_backend.cc
index 78518e9b32f4f9e68457e0e869bda3846e8b172b..34ed14cac78084adb5f28b8994bbc2ce0d22ee1c 100644
--- a/storage/browser/fileapi/isolated_file_system_backend.cc
+++ b/storage/browser/fileapi/isolated_file_system_backend.cc
@@ -110,7 +110,7 @@ FileSystemOperation* IsolatedFileSystemBackend::CreateFileSystemOperation(
FileSystemContext* context,
base::File::Error* error_code) const {
return FileSystemOperation::Create(
- url, context, base::WrapUnique(new FileSystemOperationContext(context)));
+ url, context, base::MakeUnique<FileSystemOperationContext>(context));
}
bool IsolatedFileSystemBackend::SupportsStreaming(
« no previous file with comments | « storage/browser/blob/blob_async_builder_host.cc ('k') | storage/browser/fileapi/local_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698