Index: net/websockets/websocket_frame_parser.cc |
diff --git a/net/websockets/websocket_frame_parser.cc b/net/websockets/websocket_frame_parser.cc |
index d00a1d11ae59bf9c547d47e63fa2141ff123e119..40d7e8a6e1098136b4c827191fec470c3c0ccfc2 100644 |
--- a/net/websockets/websocket_frame_parser.cc |
+++ b/net/websockets/websocket_frame_parser.cc |
@@ -72,7 +72,7 @@ bool WebSocketFrameParser::Decode( |
scoped_ptr<WebSocketFrameChunk> frame_chunk = |
DecodeFramePayload(first_chunk); |
DCHECK(frame_chunk.get()); |
- frame_chunks->push_back(frame_chunk.release()); |
+ frame_chunks->push_back(frame_chunk.Pass()); |
if (current_frame_header_.get()) { |
DCHECK(current_read_pos_ == buffer_.size()); |