Index: net/websockets/websocket_channel_test.cc |
diff --git a/net/websockets/websocket_channel_test.cc b/net/websockets/websocket_channel_test.cc |
index fe49f39a27257290f7448a9b8a45cf0b1567a136..c65968531183bf0159c6a0d76bb2afbe36ceef2d 100644 |
--- a/net/websockets/websocket_channel_test.cc |
+++ b/net/websockets/websocket_channel_test.cc |
@@ -334,7 +334,7 @@ ScopedVector<WebSocketFrame> CreateFrameVector( |
result_frame->data = new IOBuffer(frame_length); |
memcpy(result_frame->data->data(), source_frame.data, frame_length); |
} |
- result_frames.push_back(result_frame.release()); |
+ result_frames.push_back(result_frame.Pass()); |
} |
return result_frames.Pass(); |
} |
@@ -2858,7 +2858,7 @@ TEST_F(WebSocketChannelEventInterfaceTest, ReadBinaryFramesAre8BitClean) { |
frame->data = new IOBuffer(kBinaryBlobSize); |
memcpy(frame->data->data(), kBinaryBlob, kBinaryBlobSize); |
ScopedVector<WebSocketFrame> frames; |
- frames.push_back(frame.release()); |
+ frames.push_back(frame.Pass()); |
scoped_ptr<ReadableFakeWebSocketStream> stream( |
new ReadableFakeWebSocketStream); |
stream->PrepareRawReadFrames( |