Change scoped_ptr to std::unique_ptr in //net/spdy.
[email protected]
BUG=554298
Review URL: https://codereview.chromium.org/1889223003
Cr-Commit-Position: refs/heads/master@{#387764}
diff --git a/net/spdy/bidirectional_stream_spdy_impl.cc b/net/spdy/bidirectional_stream_spdy_impl.cc
index c7e023ba..cb348cc 100644
--- a/net/spdy/bidirectional_stream_spdy_impl.cc
+++ b/net/spdy/bidirectional_stream_spdy_impl.cc
@@ -51,7 +51,7 @@
const BidirectionalStreamRequestInfo* request_info,
const BoundNetLog& net_log,
BidirectionalStreamImpl::Delegate* delegate,
- scoped_ptr<base::Timer> timer) {
+ std::unique_ptr<base::Timer> timer) {
DCHECK(!stream_);
DCHECK(timer);
@@ -153,7 +153,7 @@
}
void BidirectionalStreamSpdyImpl::OnDataReceived(
- scoped_ptr<SpdyBuffer> buffer) {
+ std::unique_ptr<SpdyBuffer> buffer) {
DCHECK(stream_);
DCHECK(!stream_closed_);
@@ -207,7 +207,7 @@
}
void BidirectionalStreamSpdyImpl::SendRequestHeaders() {
- scoped_ptr<SpdyHeaderBlock> headers(new SpdyHeaderBlock);
+ std::unique_ptr<SpdyHeaderBlock> headers(new SpdyHeaderBlock);
HttpRequestInfo http_request_info;
http_request_info.url = request_info_->url;
http_request_info.method = request_info_->method;