| Index: net/spdy/spdy_stream.cc
|
| diff --git a/net/spdy/spdy_stream.cc b/net/spdy/spdy_stream.cc
|
| index 55522c2adf80c0a7d0e8763101ec0dfc82785b79..0ffbeaf1ccafc041426f5cff1adf64da0c0575e3 100644
|
| --- a/net/spdy/spdy_stream.cc
|
| +++ b/net/spdy/spdy_stream.cc
|
| @@ -474,7 +474,7 @@ void SpdyStream::OnDataReceived(scoped_ptr<SpdyBuffer> buffer) {
|
| // It should be valid for this to happen in the server push case.
|
| // We'll return received data when delegate gets attached to the stream.
|
| if (buffer) {
|
| - pending_recv_data_.push_back(buffer.release());
|
| + pending_recv_data_.push_back(buffer.Pass());
|
| } else {
|
| pending_recv_data_.push_back(NULL);
|
| // Note: we leave the stream open in the session until the stream
|
|
|