| Index: ios/chrome/browser/ui/payments/address_edit_coordinator.mm
|
| diff --git a/ios/chrome/browser/ui/payments/address_edit_coordinator.mm b/ios/chrome/browser/ui/payments/address_edit_coordinator.mm
|
| index c67088182b4e623c11916bdae906eb64950f790e..77865e8e989c207d1f04a46a36e1f5f944a6808f 100644
|
| --- a/ios/chrome/browser/ui/payments/address_edit_coordinator.mm
|
| +++ b/ios/chrome/browser/ui/payments/address_edit_coordinator.mm
|
| @@ -9,6 +9,7 @@
|
| #include "base/strings/sys_string_conversions.h"
|
| #include "components/autofill/core/browser/autofill_country.h"
|
| #include "components/autofill/core/browser/autofill_profile.h"
|
| +#include "components/autofill/core/browser/autofill_type.h"
|
| #include "components/autofill/core/browser/personal_data_manager.h"
|
| #include "components/autofill/core/browser/validation.h"
|
| #include "components/autofill/core/common/autofill_constants.h"
|
| @@ -147,8 +148,10 @@ using ::AutofillTypeFromAutofillUIType;
|
| autofill::kSettingsOrigin);
|
|
|
| for (EditorField* field in fields) {
|
| - address.SetRawInfo(AutofillTypeFromAutofillUIType(field.autofillUIType),
|
| - base::SysNSStringToUTF16(field.value));
|
| + address.SetInfo(autofill::AutofillType(
|
| + AutofillTypeFromAutofillUIType(field.autofillUIType)),
|
| + base::SysNSStringToUTF16(field.value),
|
| + GetApplicationContext()->GetApplicationLocale());
|
| }
|
|
|
| if (!self.address) {
|
|
|