Index: components/search_engines/template_url_parser.cc |
diff --git a/components/search_engines/template_url_parser.cc b/components/search_engines/template_url_parser.cc |
index 394512c4854f907590a52b851104f0fcf522e8b3..51644b16d2b9e64578998a5fa5cc2528a3104caf 100644 |
--- a/components/search_engines/template_url_parser.cc |
+++ b/components/search_engines/template_url_parser.cc |
@@ -63,13 +63,13 @@ bool IsValidEncodingString(const std::string& input_encoding) { |
if (input_encoding.empty()) |
return false; |
- if (!IsAsciiAlpha(input_encoding[0])) |
+ if (!base::IsAsciiAlpha(input_encoding[0])) |
return false; |
for (size_t i = 1, max = input_encoding.size(); i < max; ++i) { |
char c = input_encoding[i]; |
- if (!IsAsciiAlpha(c) && !IsAsciiDigit(c) && c != '.' && c != '_' && |
- c != '-') { |
+ if (!base::IsAsciiAlpha(c) && !base::IsAsciiDigit(c) && |
+ c != '.' && c != '_' && c != '-') { |
return false; |
} |
} |