Index: net/socket/ssl_client_socket_unittest.cc |
diff --git a/net/socket/ssl_client_socket_unittest.cc b/net/socket/ssl_client_socket_unittest.cc |
index 58e43c75f47bd91e08a6df967847d899b4fd3409..dc82f2d12de5d82221e7f6b083daea47b32d3379 100644 |
--- a/net/socket/ssl_client_socket_unittest.cc |
+++ b/net/socket/ssl_client_socket_unittest.cc |
@@ -1834,7 +1834,7 @@ TEST_F(SSLClientSocketTest, Connect_WithZeroReturn) { |
SynchronousErrorStreamSocket* raw_transport = transport.get(); |
scoped_ptr<SSLClientSocket> sock( |
- CreateSSLClientSocket(transport.PassAs<StreamSocket>(), |
+ CreateSSLClientSocket(transport.Pass(), |
test_server.host_port_pair(), |
kDefaultSSLConfig)); |
@@ -1871,7 +1871,7 @@ TEST_F(SSLClientSocketTest, Read_WithZeroReturn) { |
SynchronousErrorStreamSocket* raw_transport = transport.get(); |
scoped_ptr<SSLClientSocket> sock( |
- CreateSSLClientSocket(transport.PassAs<StreamSocket>(), |
+ CreateSSLClientSocket(transport.Pass(), |
test_server.host_port_pair(), |
ssl_config)); |