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

Unified Diff: content/browser/fileapi/dragged_file_util_unittest.cc

Issue 2256173002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace a WrapUnique() nested inside a MakeUnique() 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: content/browser/fileapi/dragged_file_util_unittest.cc
diff --git a/content/browser/fileapi/dragged_file_util_unittest.cc b/content/browser/fileapi/dragged_file_util_unittest.cc
index fe18776f4f20514ca5e8ab79636cfefb8eb4c3cc..a373695aa9e565bfd59f3c5a2d137065f4da8d34 100644
--- a/content/browser/fileapi/dragged_file_util_unittest.cc
+++ b/content/browser/fileapi/dragged_file_util_unittest.cc
@@ -253,8 +253,8 @@ class DraggedFileUtilTest : public testing::Test {
}
std::unique_ptr<storage::FileSystemOperationContext> GetOperationContext() {
- return base::WrapUnique(
- new storage::FileSystemOperationContext(file_system_context()));
+ return base::MakeUnique<storage::FileSystemOperationContext>(
+ file_system_context());
}
« no previous file with comments | « content/browser/download/download_request_core.cc ('k') | content/browser/fileapi/transient_file_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698