| Index: ios/chrome/browser/ui/payments/contact_info_edit_coordinator.mm
|
| diff --git a/ios/chrome/browser/ui/payments/contact_info_edit_coordinator.mm b/ios/chrome/browser/ui/payments/contact_info_edit_coordinator.mm
|
| index fce47e035d709964840e4db15ade1244126a5bd2..aa0691417efeb8d97ceef95385dabb00154feede 100644
|
| --- a/ios/chrome/browser/ui/payments/contact_info_edit_coordinator.mm
|
| +++ b/ios/chrome/browser/ui/payments/contact_info_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"
|
| @@ -136,8 +137,10 @@ using ::AutofillTypeFromAutofillUIType;
|
| autofill::kSettingsOrigin);
|
|
|
| for (EditorField* field in fields) {
|
| - profile.SetRawInfo(AutofillTypeFromAutofillUIType(field.autofillUIType),
|
| - base::SysNSStringToUTF16(field.value));
|
| + profile.SetInfo(autofill::AutofillType(
|
| + AutofillTypeFromAutofillUIType(field.autofillUIType)),
|
| + base::SysNSStringToUTF16(field.value),
|
| + GetApplicationContext()->GetApplicationLocale());
|
| }
|
|
|
| if (!self.profile) {
|
|
|