summaryrefslogtreecommitdiffstats
path: root/components/url_matcher/regex_set_matcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'components/url_matcher/regex_set_matcher.cc')
-rw-r--r--components/url_matcher/regex_set_matcher.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/url_matcher/regex_set_matcher.cc b/components/url_matcher/regex_set_matcher.cc
index 1b0b7f3..ae994db 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);