Index: net/websockets/websocket_stream_test.cc |
diff --git a/net/websockets/websocket_stream_test.cc b/net/websockets/websocket_stream_test.cc |
index 16aad1c1bcd6fef44d7677bdce3e80d23bc1f49a..644ef0ff4b628622d40411378734be46493f73da 100644 |
--- a/net/websockets/websocket_stream_test.cc |
+++ b/net/websockets/websocket_stream_test.cc |
@@ -1127,9 +1127,9 @@ TEST_F(WebSocketStreamCreateTest, SelfSignedCertificateSuccess) { |
ssl_data->cert = |
ImportCertFromFile(GetTestCertsDirectory(), "unittest.selfsigned.der"); |
ASSERT_TRUE(ssl_data->cert.get()); |
- ssl_data_.push_back(ssl_data.release()); |
+ ssl_data_.push_back(ssl_data.Pass()); |
ssl_data.reset(new SSLSocketDataProvider(ASYNC, OK)); |
- ssl_data_.push_back(ssl_data.release()); |
+ ssl_data_.push_back(ssl_data.Pass()); |
url_request_context_host_.AddRawExpectations(BuildNullSocketData()); |
CreateAndConnectStandard("wss://localhost/", "localhost", "/", |
NoSubProtocols(), "http://localhost", "", ""); |