| Index: net/spdy/spdy_proxy_client_socket.cc
|
| diff --git a/net/spdy/spdy_proxy_client_socket.cc b/net/spdy/spdy_proxy_client_socket.cc
|
| index 5f0b1627df5dd93c495cea33c293d6861c6d0b4c..df2530b19dce583d4fbadaba2df97544a4c82955 100644
|
| --- a/net/spdy/spdy_proxy_client_socket.cc
|
| +++ b/net/spdy/spdy_proxy_client_socket.cc
|
| @@ -5,6 +5,7 @@
|
| #include "net/spdy/spdy_proxy_client_socket.h"
|
|
|
| #include <algorithm> // min
|
| +#include <utility>
|
|
|
| #include "base/bind.h"
|
| #include "base/bind_helpers.h"
|
| @@ -373,7 +374,8 @@ int SpdyProxyClientSocket::DoSendRequest() {
|
| spdy_stream_->GetProtocolVersion(), true,
|
| headers.get());
|
|
|
| - return spdy_stream_->SendRequestHeaders(headers.Pass(), MORE_DATA_TO_SEND);
|
| + return spdy_stream_->SendRequestHeaders(std::move(headers),
|
| + MORE_DATA_TO_SEND);
|
| }
|
|
|
| int SpdyProxyClientSocket::DoSendRequestComplete(int result) {
|
| @@ -468,7 +470,7 @@ void SpdyProxyClientSocket::OnDataReceived(scoped_ptr<SpdyBuffer> buffer) {
|
| net_log_.AddByteTransferEvent(NetLog::TYPE_SOCKET_BYTES_RECEIVED,
|
| buffer->GetRemainingSize(),
|
| buffer->GetRemainingData());
|
| - read_buffer_queue_.Enqueue(buffer.Pass());
|
| + read_buffer_queue_.Enqueue(std::move(buffer));
|
| } else {
|
| net_log_.AddByteTransferEvent(NetLog::TYPE_SOCKET_BYTES_RECEIVED, 0, NULL);
|
| }
|
|
|