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 22a54415d965ec4836b2a2c22b5fba1f6248fc1e..62d7aac384b1c9e147c610cba1d84215d8951fac 100644 |
--- a/net/socket/ssl_client_socket_pool_unittest.cc |
+++ b/net/socket/ssl_client_socket_pool_unittest.cc |
@@ -35,8 +35,10 @@ const int kMaxSocketsPerGroup = 6; |
class SSLClientSocketPoolTest : public ClientSocketPoolTest { |
protected: |
SSLClientSocketPoolTest() |
- : http_auth_handler_factory_(HttpAuthHandlerFactory::CreateDefault()), |
- session_(new HttpNetworkSession(new MockHostResolver, |
+ : host_resolver_(new MockHostResolver), |
+ http_auth_handler_factory_(HttpAuthHandlerFactory::CreateDefault( |
+ host_resolver_)), |
+ session_(new HttpNetworkSession(host_resolver_, |
ProxyService::CreateDirect(), |
&socket_factory_, |
new SSLConfigServiceDefaults, |
@@ -116,6 +118,7 @@ class SSLClientSocketPoolTest : public ClientSocketPoolTest { |
} |
MockClientSocketFactory socket_factory_; |
+ scoped_refptr<HostResolver> host_resolver_; |
scoped_ptr<HttpAuthHandlerFactory> http_auth_handler_factory_; |
scoped_refptr<HttpNetworkSession> session_; |