Index: net/proxy/proxy_service_v8.cc |
diff --git a/net/proxy/proxy_service_v8.cc b/net/proxy/proxy_service_v8.cc |
index 46a6605b1dcd64d714e7732175facba05a87c52b..6815564d7ac5d0ff15325cee76d2e757a27da762 100644 |
--- a/net/proxy/proxy_service_v8.cc |
+++ b/net/proxy/proxy_service_v8.cc |
@@ -19,7 +19,7 @@ namespace net { |
ProxyService* CreateProxyServiceUsingV8ProxyResolver( |
ProxyConfigService* proxy_config_service, |
ProxyScriptFetcher* proxy_script_fetcher, |
- DhcpProxyScriptFetcher* dhcp_proxy_script_fetcher, |
+ scoped_ptr<DhcpProxyScriptFetcher> dhcp_proxy_script_fetcher, |
HostResolver* host_resolver, |
NetLog* net_log, |
NetworkDelegate* network_delegate) { |
@@ -38,7 +38,7 @@ ProxyService* CreateProxyServiceUsingV8ProxyResolver( |
// Configure fetchers to use for PAC script downloads and auto-detect. |
proxy_service->SetProxyScriptFetchers(proxy_script_fetcher, |
- dhcp_proxy_script_fetcher); |
+ dhcp_proxy_script_fetcher.Pass()); |
return proxy_service; |
} |