summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_resolver_v8.cc
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-25 18:00:00 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-25 18:00:00 +0000
commit43f0aaeb568fd974d442dd088f0d0036f8e1a61f (patch)
treedc4fba8446b24d4772d558af03871322528e5ddc /net/proxy/proxy_resolver_v8.cc
parentcc424a3d6b39e80dfabd683c2e9a7f79db890fe8 (diff)
downloadchromium_src-43f0aaeb568fd974d442dd088f0d0036f8e1a61f.zip
chromium_src-43f0aaeb568fd974d442dd088f0d0036f8e1a61f.tar.gz
chromium_src-43f0aaeb568fd974d442dd088f0d0036f8e1a61f.tar.bz2
GetMyHostName is renamed GetHostName to match the name of
the Unix/Winsock function gethostname. R=eroman Review URL: http://codereview.chromium.org/42590 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12466 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_resolver_v8.cc')
-rw-r--r--net/proxy/proxy_resolver_v8.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/proxy/proxy_resolver_v8.cc b/net/proxy/proxy_resolver_v8.cc
index ef4ffd8..a5d1c76 100644
--- a/net/proxy/proxy_resolver_v8.cc
+++ b/net/proxy/proxy_resolver_v8.cc
@@ -61,7 +61,7 @@ class DefaultJSBindings : public ProxyResolverV8::JSBindings {
// Handler for "myIpAddress()". Returns empty string on failure.
virtual std::string MyIpAddress() {
// DnsResolve("") returns "", so no need to check for failure.
- return DnsResolve(GetMyHostName());
+ return DnsResolve(GetHostName());
}
// Handler for "dnsResolve(host)". Returns empty string on failure.