Index: net/proxy/proxy_service_mojo_unittest.cc |
diff --git a/net/proxy/proxy_service_mojo_unittest.cc b/net/proxy/proxy_service_mojo_unittest.cc |
index 171f89be8c42f10555272e153014c0d7001d0b38..4f27a8f84afd8c54c6ca43f6c314dedbfb9a5fcf 100644 |
--- a/net/proxy/proxy_service_mojo_unittest.cc |
+++ b/net/proxy/proxy_service_mojo_unittest.cc |
@@ -126,9 +126,9 @@ class ProxyServiceMojoTest : public testing::Test, |
mock_host_resolver_.rules()->AddRule("example.com", "1.2.3.4"); |
fetcher_ = new MockProxyScriptFetcher; |
- proxy_service_.reset(CreateProxyServiceUsingMojoFactory( |
- this, new ProxyConfigServiceFixed( |
- ProxyConfig::CreateFromCustomPacURL(GURL(kPacUrl))), |
+ proxy_service_ = make_scoped_ptr(CreateProxyServiceUsingMojoFactory( |
Randy Smith (Not in Mondays)
2015/08/24 21:58:19
Why not just leave it as .reset() if it's getting
|
+ this, make_scoped_ptr(new ProxyConfigServiceFixed( |
+ ProxyConfig::CreateFromCustomPacURL(GURL(kPacUrl)))), |
fetcher_, new DoNothingDhcpProxyScriptFetcher(), &mock_host_resolver_, |
&net_log_, &network_delegate_)); |
} |