Index: net/base/host_mapping_rules.cc |
diff --git a/net/base/host_mapping_rules.cc b/net/base/host_mapping_rules.cc |
index 4532b6616da0da9c70f9be5b2e70d17d37944ece..5e604250c27cecbc8f4a45192198f561af5d9a35 100644 |
--- a/net/base/host_mapping_rules.cc |
+++ b/net/base/host_mapping_rules.cc |
@@ -74,7 +74,7 @@ bool HostMappingRules::AddRuleFromString(const std::string& rule_string) { |
// Test for EXCLUSION rule. |
if (parts.size() == 2 && base::LowerCaseEqualsASCII(parts[0], "exclude")) { |
ExclusionRule rule; |
- rule.hostname_pattern = base::StringToLowerASCII(parts[1]); |
+ rule.hostname_pattern = base::ToLowerASCII(parts[1]); |
exclusion_rules_.push_back(rule); |
return true; |
} |
@@ -82,7 +82,7 @@ bool HostMappingRules::AddRuleFromString(const std::string& rule_string) { |
// Test for MAP rule. |
if (parts.size() == 3 && base::LowerCaseEqualsASCII(parts[0], "map")) { |
MapRule rule; |
- rule.hostname_pattern = base::StringToLowerASCII(parts[1]); |
+ rule.hostname_pattern = base::ToLowerASCII(parts[1]); |
if (!ParseHostAndPort(parts[2], &rule.replacement_hostname, |
&rule.replacement_port)) { |