Index: net/websockets/websocket_channel.cc |
diff --git a/net/websockets/websocket_channel.cc b/net/websockets/websocket_channel.cc |
index 5cc3a9543be1bdb5b028f62a0a25eac5dc2da6be..b5656e5e848d04a79d178591087472739b03ebb9 100644 |
--- a/net/websockets/websocket_channel.cc |
+++ b/net/websockets/websocket_channel.cc |
@@ -150,7 +150,7 @@ class WebSocketChannel::SendBuffer { |
void WebSocketChannel::SendBuffer::AddFrame(scoped_ptr<WebSocketFrame> frame) { |
total_bytes_ += frame->header.payload_length; |
- frames_.push_back(frame.release()); |
+ frames_.push_back(frame.Pass()); |
} |
// Implementation of WebSocketStream::ConnectDelegate that simply forwards the |