Index: components/autofill/browser/wallet/wallet_address.cc |
=================================================================== |
--- components/autofill/browser/wallet/wallet_address.cc (revision 192613) |
+++ components/autofill/browser/wallet/wallet_address.cc (working copy) |
@@ -233,7 +233,8 @@ |
#endif |
} |
-string16 Address::GetInfo(AutofillFieldType type) const { |
+string16 Address::GetInfo(AutofillFieldType type, |
+ const std::string& app_locale) const { |
switch (type) { |
case NAME_FULL: |
return recipient_name(); |
@@ -254,8 +255,7 @@ |
return postal_code_number(); |
case ADDRESS_HOME_COUNTRY: { |
- AutofillCountry country(country_name_code(), |
- AutofillCountry::ApplicationLocale()); |
+ AutofillCountry country(country_name_code(), app_locale); |
return country.name(); |
} |