Index: components/url_matcher/regex_set_matcher.cc |
diff --git a/components/url_matcher/regex_set_matcher.cc b/components/url_matcher/regex_set_matcher.cc |
index 1b0b7f35555748e0e14d697d99bb753e7ccbcb49..ae994db85dcc89dc5fc8f367f11474a65cf0528a 100644 |
--- a/components/url_matcher/regex_set_matcher.cc |
+++ b/components/url_matcher/regex_set_matcher.cc |
@@ -47,8 +47,7 @@ bool RegexSetMatcher::Match(const std::string& text, |
// FilteredRE2 expects lowercase for prefiltering, but we still |
// match case-sensitively. |
- std::vector<RE2ID> atoms(FindSubstringMatches( |
- base::StringToLowerASCII(text))); |
+ std::vector<RE2ID> atoms(FindSubstringMatches(base::ToLowerASCII(text))); |
std::vector<RE2ID> re2_ids; |
filtered_re2_->AllMatches(text, atoms, &re2_ids); |