Index: net/dns/dns_hosts.cc |
diff --git a/net/dns/dns_hosts.cc b/net/dns/dns_hosts.cc |
index 706c66b383e0f5a5a71667cc3f81a4c8f4b912c3..9e641b6a2cf82b0881d83dcb5d358c28529ce9aa 100644 |
--- a/net/dns/dns_hosts.cc |
+++ b/net/dns/dns_hosts.cc |
@@ -154,7 +154,7 @@ void ParseHostsWithCommaMode(const std::string& contents, |
} |
} else { |
DnsHostsKey key(parser.token().as_string(), family); |
- base::StringToLowerASCII(&key.first); |
+ key.first = base::ToLowerASCII(key.first); |
IPAddressNumber* mapped_ip = &(*dns_hosts)[key]; |
if (mapped_ip->empty()) |
*mapped_ip = ip; |