diff options
Diffstat (limited to 'chrome/browser/io_thread.cc')
-rw-r--r-- | chrome/browser/io_thread.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc index 5fcdb3d..4e0ed4b 100644 --- a/chrome/browser/io_thread.cc +++ b/chrome/browser/io_thread.cc @@ -133,9 +133,10 @@ void IOThread::Init() { DCHECK(!globals_); globals_ = new Globals; - globals_->net_log.reset(new ChromeNetLog()); + ChromeNetLog* net_log = new ChromeNetLog(); + globals_->net_log.reset(net_log); globals_->network_change_notifier.reset( - net::NetworkChangeNotifier::CreateDefaultNetworkChangeNotifier()); + net::NetworkChangeNotifier::CreateDefaultNetworkChangeNotifier(net_log)); globals_->host_resolver = CreateGlobalHostResolver(globals_->network_change_notifier.get()); globals_->http_auth_handler_factory.reset(CreateDefaultAuthHandlerFactory()); |