summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/proxy_service_factory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/net/proxy_service_factory.cc')
-rw-r--r--chrome/browser/net/proxy_service_factory.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/net/proxy_service_factory.cc b/chrome/browser/net/proxy_service_factory.cc
index cf97923..898596eb 100644
--- a/chrome/browser/net/proxy_service_factory.cc
+++ b/chrome/browser/net/proxy_service_factory.cc
@@ -86,8 +86,8 @@ net::ProxyService* ProxyServiceFactory::CreateProxyService(
net::ProxyService* proxy_service;
if (use_v8) {
net::DhcpProxyScriptFetcherFactory dhcp_factory;
- if (command_line.HasSwitch(switches::kEnableDhcpWpad)) {
- dhcp_factory.set_enabled(true);
+ if (command_line.HasSwitch(switches::kDisableDhcpWpad)) {
+ dhcp_factory.set_enabled(false);
}
proxy_service = net::ProxyService::CreateUsingV8ProxyResolver(