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

Unified Diff: components/autofill/core/browser/address.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/address.cc
diff --git a/components/autofill/core/browser/address.cc b/components/autofill/core/browser/address.cc
index 2ba71ac4c1e309941cb93bd92cc074441ac90853..242fa24551298b1f68475077a396861a805cbef2 100644
--- a/components/autofill/core/browser/address.cc
+++ b/components/autofill/core/browser/address.cc
@@ -65,7 +65,7 @@ base::string16 Address::GetRawInfo(ServerFieldType type) const {
return sorting_code_;
case ADDRESS_HOME_COUNTRY:
- return ASCIIToUTF16(country_code_);
+ return base::ASCIIToUTF16(country_code_);
case ADDRESS_HOME_STREET_ADDRESS:
return JoinString(street_address_, '\n');
@@ -131,7 +131,7 @@ void Address::SetRawInfo(ServerFieldType type, const base::string16& value) {
base::string16 Address::GetInfo(const AutofillType& type,
const std::string& app_locale) const {
if (type.html_type() == HTML_TYPE_COUNTRY_CODE)
- return ASCIIToUTF16(country_code_);
+ return base::ASCIIToUTF16(country_code_);
ServerFieldType storable_type = type.GetStorableType();
if (storable_type == ADDRESS_HOME_COUNTRY && !country_code_.empty())

Powered by Google App Engine
This is Rietveld 408576698