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

Unified Diff: trunk/src/components/autofill/core/browser/state_names.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/components/autofill/core/browser/state_names.cc
===================================================================
--- trunk/src/components/autofill/core/browser/state_names.cc (revision 289319)
+++ trunk/src/components/autofill/core/browser/state_names.cc (working copy)
@@ -80,7 +80,7 @@
base::string16 GetAbbreviationForName(const base::string16& name) {
for (size_t i = 0; i < arraysize(kStateData); ++i) {
const StateData& state = kStateData[i];
- if (base::LowerCaseEqualsASCII(name, state.name))
+ if (LowerCaseEqualsASCII(name, state.name))
return base::ASCIIToUTF16(state.abbreviation);
}
return base::string16();
@@ -89,7 +89,7 @@
base::string16 GetNameForAbbreviation(const base::string16& abbreviation) {
for (size_t i = 0; i < arraysize(kStateData); ++i) {
const StateData& state = kStateData[i];
- if (base::LowerCaseEqualsASCII(abbreviation, state.abbreviation))
+ if (LowerCaseEqualsASCII(abbreviation, state.abbreviation))
return base::ASCIIToUTF16(state.name);
}
return base::string16();

Powered by Google App Engine
This is Rietveld 408576698