Index: net/websockets/websocket_basic_stream.cc |
diff --git a/net/websockets/websocket_basic_stream.cc b/net/websockets/websocket_basic_stream.cc |
index 2890a9e493f8a4b5a0eb7bcc798cd4d912c0cd7f..54f3cbf7a980e63803edc2fbd2156d2269491940 100644 |
--- a/net/websockets/websocket_basic_stream.cc |
+++ b/net/websockets/websocket_basic_stream.cc |
@@ -263,7 +263,7 @@ int WebSocketBasicStream::ConvertChunksToFrames( |
if (result != OK) |
return result; |
if (frame) |
- frames->push_back(frame.release()); |
+ frames->push_back(frame.Pass()); |
} |
// All the elements of |frame_chunks| are now NULL, so there is no point in |
// calling delete on them all. |