summaryrefslogtreecommitdiffstats
path: root/content/common/android
diff options
context:
space:
mode:
Diffstat (limited to 'content/common/android')
-rw-r--r--content/common/android/address_parser.cc10
-rw-r--r--content/common/android/address_parser_internal.cc2
2 files changed, 7 insertions, 5 deletions
diff --git a/content/common/android/address_parser.cc b/content/common/android/address_parser.cc
index 41bdeb7..2b0478a 100644
--- a/content/common/android/address_parser.cc
+++ b/content/common/android/address_parser.cc
@@ -171,10 +171,12 @@ bool FindAddress(const base::string16::const_iterator& begin,
if (current_word_length == 2 && words.size() > 2) {
const Word& previous_word = words[state_first_word - 1];
if (previous_word.end - previous_word.begin == 2 &&
- LowerCaseEqualsASCII(previous_word.begin, previous_word.end,
- "et") &&
- LowerCaseEqualsASCII(current_word.begin, current_word.end,
- "al"))
+ base::LowerCaseEqualsASCII(previous_word.begin,
+ previous_word.end,
+ "et") &&
+ base::LowerCaseEqualsASCII(current_word.begin,
+ current_word.end,
+ "al"))
break;
}
diff --git a/content/common/android/address_parser_internal.cc b/content/common/android/address_parser_internal.cc
index 127fb3c..12ac3cc 100644
--- a/content/common/android/address_parser_internal.cc
+++ b/content/common/android/address_parser_internal.cc
@@ -157,7 +157,7 @@ bool HouseNumberParser::Parse(
if (IsAsciiAlpha(*it_)) {
// Handle special case 'one'.
if (result_chars_ == 0) {
- if (it_ + 3 <= end_ && LowerCaseEqualsASCII(it_, it_ + 3, "one"))
+ if (it_ + 3 <= end_ && base::LowerCaseEqualsASCII(it_, it_ + 3, "one"))
AcceptChars(3);
else
RestartOnNextDelimiter();