diff options
Diffstat (limited to 'net/dns/dns_config_service_win.cc')
-rw-r--r-- | net/dns/dns_config_service_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dns/dns_config_service_win.cc b/net/dns/dns_config_service_win.cc index 23206d4..443ee27 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; |