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

Unified Diff: blimp/net/blimp_message_output_buffer.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_multiplexer.cc ('k') | blimp/net/blimp_message_thread_pipe.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/blimp_message_output_buffer.cc
diff --git a/blimp/net/blimp_message_output_buffer.cc b/blimp/net/blimp_message_output_buffer.cc
index 8167bf20c30a9f3b1c708665ee4e458cb1a16dc7..190804c3552630dc450ad267d73db14f714c4fe8 100644
--- a/blimp/net/blimp_message_output_buffer.cc
+++ b/blimp/net/blimp_message_output_buffer.cc
@@ -74,7 +74,7 @@ void BlimpMessageOutputBuffer::ProcessMessage(
<< " bytes.";
write_buffer_.push_back(
- base::WrapUnique(new BufferEntry(std::move(message), callback)));
+ base::MakeUnique<BufferEntry>(std::move(message), callback));
// Write the message
if (write_buffer_.size() == 1 && output_processor_) {
« no previous file with comments | « blimp/net/blimp_message_multiplexer.cc ('k') | blimp/net/blimp_message_thread_pipe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698