Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1544)

Unified Diff: components/url_matcher/regex_set_matcher.cc

Issue 448853002: Move StringToLowerASCII to base namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 c0b977cc4ee7cd9478e134ef068aa76fdbec15ed..1b0b7f35555748e0e14d697d99bb753e7ccbcb49 100644
--- a/components/url_matcher/regex_set_matcher.cc
+++ b/components/url_matcher/regex_set_matcher.cc
@@ -48,7 +48,7 @@ bool RegexSetMatcher::Match(const std::string& text,
// FilteredRE2 expects lowercase for prefiltering, but we still
// match case-sensitively.
std::vector<RE2ID> atoms(FindSubstringMatches(
- StringToLowerASCII(text)));
+ base::StringToLowerASCII(text)));
std::vector<RE2ID> re2_ids;
filtered_re2_->AllMatches(text, atoms, &re2_ids);

Powered by Google App Engine
This is Rietveld 408576698