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

Unified Diff: trunk/src/content/common/android/address_parser.cc

Issue 474483002: Revert 289312 "Move StringToUpperASCII and LowerCaseEqualsASCII ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
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: trunk/src/content/common/android/address_parser.cc
===================================================================
--- trunk/src/content/common/android/address_parser.cc (revision 289319)
+++ trunk/src/content/common/android/address_parser.cc (working copy)
@@ -171,12 +171,10 @@
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 &&
- base::LowerCaseEqualsASCII(previous_word.begin,
- previous_word.end,
- "et") &&
- base::LowerCaseEqualsASCII(current_word.begin,
- current_word.end,
- "al"))
+ LowerCaseEqualsASCII(previous_word.begin, previous_word.end,
+ "et") &&
+ LowerCaseEqualsASCII(current_word.begin, current_word.end,
+ "al"))
break;
}

Powered by Google App Engine
This is Rietveld 408576698