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

Unified Diff: net/spdy/core/spdy_protocol.cc

Issue 2840563003: Implement SpdyMakeUnique and SpdyWrapUnique. (Closed)
Patch Set: Created 3 years, 8 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 | « net/spdy/core/spdy_protocol.h ('k') | net/spdy/core/spdy_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/core/spdy_protocol.cc
diff --git a/net/spdy/core/spdy_protocol.cc b/net/spdy/core/spdy_protocol.cc
index 8d85ee10f8ae758349a07ea43773d8af7719c70b..2ae97a9bf906d2c23052f54451c78bc371b0be2a 100644
--- a/net/spdy/core/spdy_protocol.cc
+++ b/net/spdy/core/spdy_protocol.cc
@@ -230,7 +230,7 @@ SpdyDataIR::SpdyDataIR(SpdyStreamId stream_id, const char* data)
SpdyDataIR::SpdyDataIR(SpdyStreamId stream_id, SpdyString data)
: SpdyFrameWithFinIR(stream_id),
- data_store_(base::MakeUnique<SpdyString>(std::move(data))),
+ data_store_(SpdyMakeUnique<SpdyString>(std::move(data))),
data_(data_store_->data()),
data_len_(data_store_->size()),
padded_(false),
@@ -325,7 +325,7 @@ SpdyFrameType SpdyGoAwayIR::frame_type() const {
SpdyContinuationIR::SpdyContinuationIR(SpdyStreamId stream_id)
: SpdyFrameWithStreamIdIR(stream_id), end_headers_(false) {
- encoding_ = base::MakeUnique<SpdyString>();
+ encoding_ = SpdyMakeUnique<SpdyString>();
}
SpdyContinuationIR::~SpdyContinuationIR() {}
« no previous file with comments | « net/spdy/core/spdy_protocol.h ('k') | net/spdy/core/spdy_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698