summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-23 18:22:33 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-23 18:22:33 +0000
commitdbbbd0c9de5cd224b1dbb064455fb8a28985a1ab (patch)
treea722c306b32fda0834dd7cb38807e5af4516233c /net
parent0238de41ca1bdce286ac08d21c7634c36787ad7f (diff)
downloadchromium_src-dbbbd0c9de5cd224b1dbb064455fb8a28985a1ab.zip
chromium_src-dbbbd0c9de5cd224b1dbb064455fb8a28985a1ab.tar.gz
chromium_src-dbbbd0c9de5cd224b1dbb064455fb8a28985a1ab.tar.bz2
Remove some unused code.
BUG=NONE Review URL: http://codereview.chromium.org/2824024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50625 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/proxy/proxy_resolver_js_bindings.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/proxy/proxy_resolver_js_bindings.cc b/net/proxy/proxy_resolver_js_bindings.cc
index 6704f18..3bf1bad 100644
--- a/net/proxy/proxy_resolver_js_bindings.cc
+++ b/net/proxy/proxy_resolver_js_bindings.cc
@@ -64,10 +64,6 @@ class DefaultJSBindings : public ProxyResolverJSBindings {
if (result != OK)
return false;
- // TODO(eroman): Is this check really needed? Can I remove it?
- if (!address_list.head())
- return false;
-
// There may be multiple results; we will just use the first one.
// This returns empty string on failure.
*first_ip_address = net::NetAddressToString(address_list.head());