Index: net/socket/ssl_client_socket_pool_unittest.cc |
diff --git a/net/socket/ssl_client_socket_pool_unittest.cc b/net/socket/ssl_client_socket_pool_unittest.cc |
index 9bbe659d421e95516f9e29401f1fd685aa8117e2..48d667025b5cf6ef8efd9cd860f3a2f586455b3d 100644 |
--- a/net/socket/ssl_client_socket_pool_unittest.cc |
+++ b/net/socket/ssl_client_socket_pool_unittest.cc |
@@ -185,7 +185,7 @@ |
const scoped_refptr<SSLConfigService> ssl_config_service_; |
const scoped_ptr<HttpAuthHandlerFactory> http_auth_handler_factory_; |
HttpServerPropertiesImpl http_server_properties_; |
- const scoped_ptr<HttpNetworkSession> session_; |
+ const scoped_refptr<HttpNetworkSession> session_; |
scoped_refptr<TransportSocketParams> direct_transport_socket_params_; |
MockTransportClientSocketPool transport_socket_pool_; |
@@ -828,7 +828,7 @@ |
CreatePool(true /* tcp pool */, false, false); |
base::WeakPtr<SpdySession> spdy_session = |
- CreateSecureSpdySession(session_.get(), test_hosts[0].key, BoundNetLog()); |
+ CreateSecureSpdySession(session_, test_hosts[0].key, BoundNetLog()); |
EXPECT_TRUE( |
HasSpdySession(session_->spdy_session_pool(), test_hosts[0].key)); |
@@ -885,7 +885,7 @@ |
CreatePool(true /* tcp pool */, false, false); |
base::WeakPtr<SpdySession> spdy_session = |
- CreateSecureSpdySession(session_.get(), test_hosts[0].key, BoundNetLog()); |
+ CreateSecureSpdySession(session_, test_hosts[0].key, BoundNetLog()); |
EXPECT_TRUE( |
HasSpdySession(session_->spdy_session_pool(), test_hosts[0].key)); |