Index: net/dns/dns_config_service_win.cc |
diff --git a/net/dns/dns_config_service_win.cc b/net/dns/dns_config_service_win.cc |
index 23206d4d6f997294a5a0c6beb1445abf2227466c..443ee27ff7f2eca37d463004df7ffbac0dd974b8 100644 |
--- a/net/dns/dns_config_service_win.cc |
+++ b/net/dns/dns_config_service_win.cc |
@@ -241,7 +241,7 @@ HostsParseWinResult AddLocalhostEntries(DnsHosts* hosts) { |
!ParseDomainASCII(buffer, &localname)) { |
return HOSTS_PARSE_WIN_COMPUTER_NAME_FAILED; |
} |
- base::StringToLowerASCII(&localname); |
+ localname = base::ToLowerASCII(localname); |
bool have_ipv4 = |
hosts->count(DnsHostsKey(localname, ADDRESS_FAMILY_IPV4)) > 0; |