summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_websocket_stream.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/spdy/spdy_websocket_stream.cc')
-rw-r--r--net/spdy/spdy_websocket_stream.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/spdy/spdy_websocket_stream.cc b/net/spdy/spdy_websocket_stream.cc
index 5a9a541..7ceb829 100644
--- a/net/spdy/spdy_websocket_stream.cc
+++ b/net/spdy/spdy_websocket_stream.cc
@@ -54,13 +54,12 @@ int SpdyWebSocketStream::InitializeStream(const GURL& url,
return result;
}
-int SpdyWebSocketStream::SendRequest(
- const linked_ptr<SpdyHeaderBlock>& headers) {
+int SpdyWebSocketStream::SendRequest(scoped_ptr<SpdyHeaderBlock> headers) {
if (!stream_) {
NOTREACHED();
return ERR_UNEXPECTED;
}
- stream_->set_spdy_headers(headers);
+ stream_->set_spdy_headers(headers.Pass());
int result = stream_->SendRequest(true);
if (result < OK && result != ERR_IO_PENDING)
Close();