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

Unified Diff: blimp/net/blimp_message_thread_pipe.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_output_buffer.cc ('k') | blimp/net/blimp_message_thread_pipe_unittest.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.cc
diff --git a/blimp/net/blimp_message_thread_pipe.cc b/blimp/net/blimp_message_thread_pipe.cc
index 3848d9b4e02140bb01f5a905d36457e298a3f2c3..932d8bf989ff7c5f21029baf93cb3673306246ec 100644
--- a/blimp/net/blimp_message_thread_pipe.cc
+++ b/blimp/net/blimp_message_thread_pipe.cc
@@ -103,8 +103,8 @@ BlimpMessageThreadPipe::~BlimpMessageThreadPipe() {
}
std::unique_ptr<BlimpMessageProcessor> BlimpMessageThreadPipe::CreateProxy() {
- return base::WrapUnique(new BlimpMessageThreadProxy(
- target_task_runner_, weak_factory_.GetWeakPtr()));
+ return base::MakeUnique<BlimpMessageThreadProxy>(target_task_runner_,
+ weak_factory_.GetWeakPtr());
}
void BlimpMessageThreadPipe::set_target_processor(
« no previous file with comments | « blimp/net/blimp_message_output_buffer.cc ('k') | blimp/net/blimp_message_thread_pipe_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698