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

Unified Diff: blimp/net/blimp_message_thread_pipe_unittest.cc

Issue 2250433006: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 | « blimp/net/blimp_message_thread_pipe.cc ('k') | blimp/net/blob_channel/blob_channel_integration_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/blimp_message_thread_pipe_unittest.cc
diff --git a/blimp/net/blimp_message_thread_pipe_unittest.cc b/blimp/net/blimp_message_thread_pipe_unittest.cc
index 6c5caf03e59fbeafb1c9aaddd7c195e730687ac1..2f0b87181278ed87f51fc790540366568a4f7127 100644
--- a/blimp/net/blimp_message_thread_pipe_unittest.cc
+++ b/blimp/net/blimp_message_thread_pipe_unittest.cc
@@ -32,7 +32,7 @@ class BlimpMessageThreadPipeTest : public testing::Test {
// Note that none of this will "touch" the target processor, so it's
// safe to do here, before EXPECT_CALL() expectations are set up.
ASSERT_TRUE(thread_.Start());
- pipe_ = base::WrapUnique(new BlimpMessageThreadPipe(thread_.task_runner()));
+ pipe_ = base::MakeUnique<BlimpMessageThreadPipe>(thread_.task_runner());
proxy_ = pipe_->CreateProxy();
thread_.task_runner()->PostTask(
« no previous file with comments | « blimp/net/blimp_message_thread_pipe.cc ('k') | blimp/net/blob_channel/blob_channel_integration_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698