Index: net/dns/host_resolver_impl.cc |
diff --git a/net/dns/host_resolver_impl.cc b/net/dns/host_resolver_impl.cc |
index d3f83655356922b58551ca13adbec1bf14c157d5..2fdd254b43f350243de895285ece39e2f142ea2a 100644 |
--- a/net/dns/host_resolver_impl.cc |
+++ b/net/dns/host_resolver_impl.cc |
@@ -2118,7 +2118,7 @@ bool HostResolverImpl::ServeFromHosts(const Key& key, |
addresses->clear(); |
// HOSTS lookups are case-insensitive. |
- std::string hostname = base::StringToLowerASCII(key.hostname); |
+ std::string hostname = base::ToLowerASCII(key.hostname); |
const DnsHosts& hosts = dns_client_->GetConfig()->hosts; |