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 77865e8e989c207d1f04a46a36e1f5f944a6808f..4e48fa85abefe458f34a25a9d46ce0a540c93ea0 100644 |
--- a/ios/chrome/browser/ui/payments/address_edit_coordinator.mm |
+++ b/ios/chrome/browser/ui/payments/address_edit_coordinator.mm |
@@ -15,7 +15,6 @@ |
#include "components/autofill/core/common/autofill_constants.h" |
#include "components/payments/core/payments_profile_comparator.h" |
#include "components/strings/grit/components_strings.h" |
-#include "ios/chrome/browser/application_context.h" |
#include "ios/chrome/browser/payments/payment_request.h" |
#import "ios/chrome/browser/ui/autofill/autofill_ui_type_util.h" |
#import "ios/chrome/browser/ui/payments/address_edit_mediator.h" |
@@ -151,7 +150,7 @@ using ::AutofillTypeFromAutofillUIType; |
address.SetInfo(autofill::AutofillType( |
AutofillTypeFromAutofillUIType(field.autofillUIType)), |
base::SysNSStringToUTF16(field.value), |
- GetApplicationContext()->GetApplicationLocale()); |
+ self.paymentRequest->GetApplicationLocale()); |
} |
if (!self.address) { |