summaryrefslogtreecommitdiffstats
path: root/chrome/browser/io_thread.cc
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-21 22:40:35 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-21 22:40:35 +0000
commit740e6bdb0b63c45e1e44d73f473f330b69853c1c (patch)
tree83e2ef11c38fe80cf3666de06cfc6f2a8b9181ef /chrome/browser/io_thread.cc
parent3d8d1c9f38d1f4f26a56ad03d3fa920791bc50ea (diff)
downloadchromium_src-740e6bdb0b63c45e1e44d73f473f330b69853c1c.zip
chromium_src-740e6bdb0b63c45e1e44d73f473f330b69853c1c.tar.gz
chromium_src-740e6bdb0b63c45e1e44d73f473f330b69853c1c.tar.bz2
Pass in NetLog to NetworkChangeNotifier.
BUG=46822 Review URL: http://codereview.chromium.org/2857009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50402 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/io_thread.cc')
-rw-r--r--chrome/browser/io_thread.cc5
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());