diff options
Diffstat (limited to 'chrome/browser/io_thread.cc')
-rw-r--r-- | chrome/browser/io_thread.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc index 4f9a244..1a0fdbf 100644 --- a/chrome/browser/io_thread.cc +++ b/chrome/browser/io_thread.cc @@ -27,7 +27,7 @@ namespace { -net::HostResolver* CreateGlobalHostResolver() { +net::HostResolver* CreateGlobalHostResolver(net::NetLog* net_log) { const CommandLine& command_line = *CommandLine::ForCurrentProcess(); size_t parallelism = net::HostResolver::kDefaultParallelism; @@ -47,7 +47,7 @@ net::HostResolver* CreateGlobalHostResolver() { } net::HostResolver* global_host_resolver = - net::CreateSystemHostResolver(parallelism); + net::CreateSystemHostResolver(parallelism, net_log); // Determine if we should disable IPv6 support. if (!command_line.HasSwitch(switches::kEnableIPv6)) { @@ -186,7 +186,7 @@ void IOThread::Init() { network_change_observer_.reset( new LoggingNetworkChangeObserver(globals_->net_log.get())); - globals_->host_resolver = CreateGlobalHostResolver(); + globals_->host_resolver = CreateGlobalHostResolver(globals_->net_log.get()); globals_->http_auth_handler_factory.reset(CreateDefaultAuthHandlerFactory( globals_->host_resolver)); } |