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

Unified Diff: chrome/browser/browsing_data/media_licenses_counter_browsertest.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
« no previous file with comments | « chrome/browser/browsing_data/media_licenses_counter.cc ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data/media_licenses_counter_browsertest.cc
diff --git a/chrome/browser/browsing_data/media_licenses_counter_browsertest.cc b/chrome/browser/browsing_data/media_licenses_counter_browsertest.cc
index a7c65a21309a0d9fcc8922070c366ea48d33a0bb..7e216c41c6eed2129266754e0b588d080268496d 100644
--- a/chrome/browser/browsing_data/media_licenses_counter_browsertest.cc
+++ b/chrome/browser/browsing_data/media_licenses_counter_browsertest.cc
@@ -119,8 +119,8 @@ class MediaLicensesCounterTest : public InProcessBrowserTest {
storage::AsyncFileUtil* file_util = filesystem_context->GetAsyncFileUtil(
storage::kFileSystemTypePluginPrivate);
std::unique_ptr<storage::FileSystemOperationContext> operation_context =
- base::WrapUnique(
- new storage::FileSystemOperationContext(filesystem_context));
+ base::MakeUnique<storage::FileSystemOperationContext>(
+ filesystem_context);
operation_context->set_allowed_bytes_growth(
storage::QuotaManager::kNoLimit);
file_util->EnsureFileExists(
« no previous file with comments | « chrome/browser/browsing_data/media_licenses_counter.cc ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698