| 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 5fe018fd43039567cf72089fbb3f42e5b1da5b50..4ff1043c45bdb0e6bf5fdfcbf0e32de94fead136 100644
|
| --- a/chrome/browser/ui/views/payments/profile_list_view_controller.cc
|
| +++ b/chrome/browser/ui/views/payments/profile_list_view_controller.cc
|
| @@ -116,7 +116,14 @@ class ShippingProfileViewController : public ProfileListViewController {
|
| }
|
|
|
| void ShowEditor(autofill::AutofillProfile* profile) override {
|
| - dialog()->ShowShippingAddressEditor(profile);
|
| + dialog()->ShowShippingAddressEditor(
|
| + /*on_edited=*/base::BindOnce(
|
| + &PaymentRequestState::SetSelectedShippingProfile,
|
| + base::Unretained(state()), profile),
|
| + /*on_added=*/
|
| + base::BindOnce(&PaymentRequestState::AddAutofillShippingProfile,
|
| + base::Unretained(state()), /*selected=*/true),
|
| + profile);
|
| }
|
|
|
| autofill::AutofillProfile* GetSelectedProfile() override {
|
|
|