| Index: chrome/browser/ui/views/payments/profile_list_view_controller.cc
|
| diff --git a/chrome/browser/ui/views/payments/profile_list_view_controller.cc b/chrome/browser/ui/views/payments/profile_list_view_controller.cc
|
| index 04e43037d75437d7f806577747acf30ee52a9050..f30561a67ca62d93cc6ce861f519e057416490be 100644
|
| --- a/chrome/browser/ui/views/payments/profile_list_view_controller.cc
|
| +++ b/chrome/browser/ui/views/payments/profile_list_view_controller.cc
|
| @@ -135,9 +135,10 @@ class ShippingProfileViewController : public ProfileListViewController {
|
|
|
| void ShowEditor(autofill::AutofillProfile* profile) override {
|
| dialog()->ShowShippingAddressEditor(
|
| - /*on_edited=*/base::BindOnce(
|
| - &PaymentRequestState::SetSelectedShippingProfile,
|
| - base::Unretained(state()), profile),
|
| + BackNavigationType::kPaymentSheet,
|
| + /*on_edited=*/
|
| + base::BindOnce(&PaymentRequestState::SetSelectedShippingProfile,
|
| + base::Unretained(state()), profile),
|
| /*on_added=*/
|
| base::BindOnce(&PaymentRequestState::AddAutofillShippingProfile,
|
| base::Unretained(state()), /*selected=*/true),
|
| @@ -244,7 +245,7 @@ class ContactProfileViewController : public ProfileListViewController {
|
| }
|
|
|
| void ShowEditor(autofill::AutofillProfile* profile) override {
|
| - dialog()->ShowContactInfoEditor(profile);
|
| + dialog()->ShowContactInfoEditor(BackNavigationType::kPaymentSheet, profile);
|
| }
|
|
|
| autofill::AutofillProfile* GetSelectedProfile() override {
|
|
|