Index: chrome/browser/ui/webui/options/autofill_options_handler.cc |
=================================================================== |
--- chrome/browser/ui/webui/options/autofill_options_handler.cc (revision 192389) |
+++ chrome/browser/ui/webui/options/autofill_options_handler.cc (working copy) |
@@ -443,7 +443,7 @@ |
address.SetString("city", profile->GetRawInfo(ADDRESS_HOME_CITY)); |
address.SetString("state", profile->GetRawInfo(ADDRESS_HOME_STATE)); |
address.SetString("postalCode", profile->GetRawInfo(ADDRESS_HOME_ZIP)); |
- address.SetString("country", profile->CountryCode()); |
+ address.SetString("country", profile->GetRawInfo(ADDRESS_HOME_COUNTRY)); |
GetValueList(*profile, PHONE_HOME_WHOLE_NUMBER, &list); |
address.Set("phone", list.release()); |
GetValueList(*profile, EMAIL_ADDRESS, &list); |
@@ -524,7 +524,7 @@ |
profile.SetRawInfo(ADDRESS_HOME_ZIP, value); |
if (args->GetString(8, &country_code)) |
- profile.SetCountryCode(country_code); |
+ profile.SetRawInfo(ADDRESS_HOME_COUNTRY, ASCIIToUTF16(country_code)); |
if (args->GetList(9, &list_value)) |
SetValueList(list_value, PHONE_HOME_WHOLE_NUMBER, &profile); |