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

Unified Diff: components/autofill/core/browser/state_names.cc

Issue 112433004: Update uses of UTF conversions in chrome_frame/, chromeos/, components/ to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/autofill/core/browser/state_names.cc
diff --git a/components/autofill/core/browser/state_names.cc b/components/autofill/core/browser/state_names.cc
index 0ad35250cf5e67bc76144e19159dfd5f3f8864e9..d4975b4cb91743ed37b2c17293a869c70fd9a525 100644
--- a/components/autofill/core/browser/state_names.cc
+++ b/components/autofill/core/browser/state_names.cc
@@ -81,7 +81,7 @@ base::string16 GetAbbreviationForName(const base::string16& name) {
for (size_t i = 0; i < arraysize(kStateData); ++i) {
const StateData& state = kStateData[i];
if (LowerCaseEqualsASCII(name, state.name))
- return ASCIIToUTF16(state.abbreviation);
+ return base::ASCIIToUTF16(state.abbreviation);
}
return base::string16();
}
@@ -90,7 +90,7 @@ base::string16 GetNameForAbbreviation(const base::string16& abbreviation) {
for (size_t i = 0; i < arraysize(kStateData); ++i) {
const StateData& state = kStateData[i];
if (LowerCaseEqualsASCII(abbreviation, state.abbreviation))
- return ASCIIToUTF16(state.name);
+ return base::ASCIIToUTF16(state.name);
}
return base::string16();
}
« no previous file with comments | « components/autofill/core/browser/phone_number_unittest.cc ('k') | components/autofill/core/browser/validation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698