summaryrefslogtreecommitdiffstats
path: root/net/tools
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-28 20:12:27 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-28 20:12:27 +0000
commit5a1d7ca44e2d11095828ec35d63fc87bd2c3dbef (patch)
tree2f8ce83b395dee893febd751f95ee4b85422c6b2 /net/tools
parent3f4a48393754bd0bb8dcf6bb73241154a695dae3 (diff)
downloadchromium_src-5a1d7ca44e2d11095828ec35d63fc87bd2c3dbef.zip
chromium_src-5a1d7ca44e2d11095828ec35d63fc87bd2c3dbef.tar.gz
chromium_src-5a1d7ca44e2d11095828ec35d63fc87bd2c3dbef.tar.bz2
Cleanup: Remove the implicit constructor for BoundNetLog that allowed passing NULL in place of a const BoundNetLog&.
BUG=37421 Review URL: http://codereview.chromium.org/1783008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45851 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/tools')
-rw-r--r--net/tools/fetch/fetch_client.cc2
-rw-r--r--net/tools/hresolv/hresolv.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/tools/fetch/fetch_client.cc b/net/tools/fetch/fetch_client.cc
index 197a0454..c34c6b6 100644
--- a/net/tools/fetch/fetch_client.cc
+++ b/net/tools/fetch/fetch_client.cc
@@ -63,7 +63,7 @@ class Client {
request_info_.url = url_;
request_info_.method = "GET";
int state = transaction_->Start(
- &request_info_, &connect_callback_, NULL);
+ &request_info_, &connect_callback_, net::BoundNetLog());
DCHECK(state == net::ERR_IO_PENDING);
};
diff --git a/net/tools/hresolv/hresolv.cc b/net/tools/hresolv/hresolv.cc
index 0adc30a..77ea2e5 100644
--- a/net/tools/hresolv/hresolv.cc
+++ b/net/tools/hresolv/hresolv.cc
@@ -195,7 +195,7 @@ class DelayedResolve : public base::RefCounted<DelayedResolve> {
&address_list_,
callback,
NULL,
- NULL);
+ net::BoundNetLog());
if (rv != net::ERR_IO_PENDING) {
OnResolveComplete(rv);
}