diff options
Diffstat (limited to 'net/http/http_network_layer_unittest.cc')
-rw-r--r-- | net/http/http_network_layer_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/http/http_network_layer_unittest.cc b/net/http/http_network_layer_unittest.cc index 9128cdd3..153423e 100644 --- a/net/http/http_network_layer_unittest.cc +++ b/net/http/http_network_layer_unittest.cc @@ -32,10 +32,10 @@ class HttpNetworkLayerTest : public PlatformTest { ConfigureTestDependencies(ProxyService::CreateDirect()); } - void ConfigureTestDependencies(ProxyService* proxy_service) { + void ConfigureTestDependencies(scoped_ptr<ProxyService> proxy_service) { cert_verifier_.reset(new MockCertVerifier); transport_security_state_.reset(new TransportSecurityState); - proxy_service_.reset(proxy_service); + proxy_service_ = proxy_service.Pass(); HttpNetworkSession::Params session_params; session_params.client_socket_factory = &mock_socket_factory_; session_params.host_resolver = &host_resolver_; |