Index: content/child/shared_memory_data_consumer_handle.cc |
diff --git a/content/child/shared_memory_data_consumer_handle.cc b/content/child/shared_memory_data_consumer_handle.cc |
index 3c9b7a26ff8e65e81374fbc3a9524c8323ac5d96..7f2ef4813aca8471953b33656a778d568fc12f01 100644 |
--- a/content/child/shared_memory_data_consumer_handle.cc |
+++ b/content/child/shared_memory_data_consumer_handle.cc |
@@ -311,9 +311,9 @@ void SharedMemoryDataConsumerHandle::Writer::AddData( |
std::unique_ptr<RequestPeer::ThreadSafeReceivedData> data_to_pass; |
if (mode_ == kApplyBackpressure) { |
data_to_pass = |
- base::WrapUnique(new DelegateThreadSafeReceivedData(std::move(data))); |
+ base::MakeUnique<DelegateThreadSafeReceivedData>(std::move(data)); |
} else { |
- data_to_pass = base::WrapUnique(new FixedReceivedData(data.get())); |
+ data_to_pass = base::MakeUnique<FixedReceivedData>(data.get()); |
} |
context_->Push(std::move(data_to_pass)); |
} |