Index: net/websockets/websocket_basic_stream_test.cc |
diff --git a/net/websockets/websocket_basic_stream_test.cc b/net/websockets/websocket_basic_stream_test.cc |
index 69aab3c767d6b2b36f840f5ac56626e5d04167d8..839c568aa19834ddd06d0bc5502d2f03a6b868f2 100644 |
--- a/net/websockets/websocket_basic_stream_test.cc |
+++ b/net/websockets/websocket_basic_stream_test.cc |
@@ -253,7 +253,7 @@ class WebSocketBasicStreamSocketWriteTest |
header.final = true; |
header.masked = true; |
header.payload_length = payload_size; |
- frames_.push_back(frame.release()); |
+ frames_.push_back(frame.Pass()); |
} |
// Creates a stream that expects the listed writes. |
@@ -896,7 +896,7 @@ TEST_F(WebSocketBasicStreamSocketWriteTest, WriteNullPong) { |
header.masked = true; |
header.payload_length = 0; |
ScopedVector<WebSocketFrame> frames; |
- frames.push_back(frame.release()); |
+ frames.push_back(frame.Pass()); |
EXPECT_EQ(OK, stream_->WriteFrames(&frames, cb_.callback())); |
} |
@@ -920,7 +920,7 @@ TEST_F(WebSocketBasicStreamSocketTest, WriteNonNulMask) { |
header.final = true; |
header.masked = true; |
header.payload_length = payload_size; |
- frames_.push_back(frame.release()); |
+ frames_.push_back(frame.Pass()); |
EXPECT_EQ(OK, stream_->WriteFrames(&frames_, cb_.callback())); |
} |