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

Unified Diff: content/child/indexed_db/webidbcursor_impl_unittest.cc

Issue 2254173002: 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 | « content/child/child_shared_bitmap_manager.cc ('k') | content/child/push_messaging/push_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/indexed_db/webidbcursor_impl_unittest.cc
diff --git a/content/child/indexed_db/webidbcursor_impl_unittest.cc b/content/child/indexed_db/webidbcursor_impl_unittest.cc
index aa43b61d262d3c798de7da22b7f544269e1d8a21..da4aee4d14183fe3dbefd476b8df5b6344388898 100644
--- a/content/child/indexed_db/webidbcursor_impl_unittest.cc
+++ b/content/child/indexed_db/webidbcursor_impl_unittest.cc
@@ -139,8 +139,7 @@ class WebIDBCursorImplTest : public testing::Test {
null_key_.assignNull();
thread_safe_sender_ = new ThreadSafeSender(
base::ThreadTaskRunnerHandle::Get(), new MockSyncMessageFilter);
- dispatcher_ =
- base::WrapUnique(new MockDispatcher(thread_safe_sender_.get()));
+ dispatcher_ = base::MakeUnique<MockDispatcher>(thread_safe_sender_.get());
}
protected:
« no previous file with comments | « content/child/child_shared_bitmap_manager.cc ('k') | content/child/push_messaging/push_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698