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

Unified Diff: content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc

Issue 2233153002: IndexedDB: WrapUnique(new T(args..)) -> MakeUnique<T>(args...) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review feedback 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 | « no previous file | content/browser/indexed_db/indexed_db_backing_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc
diff --git a/content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc b/content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc
index 1f2b9321fabd1e105608d300b13fa3f071c7ad70..63f4000cd5f34bbb8bf91505d28772b24a634526 100644
--- a/content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc
+++ b/content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc
@@ -107,7 +107,8 @@ class IndexedDBActiveBlobRegistryTest : public testing::Test {
factory_(new RegistryTestMockFactory),
backing_store_(
new MockIDBBackingStore(factory_.get(), task_runner_.get())),
- registry_(new IndexedDBActiveBlobRegistry(backing_store_.get())) {}
+ registry_(base::MakeUnique<IndexedDBActiveBlobRegistry>(
+ backing_store_.get())) {}
void RunUntilIdle() { task_runner_->RunUntilIdle(); }
RegistryTestMockFactory* factory() const { return factory_.get(); }
« no previous file with comments | « no previous file | content/browser/indexed_db/indexed_db_backing_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698