| Index: chrome/browser/ui/views/payments/payment_request_dialog_view.cc
|
| diff --git a/chrome/browser/ui/views/payments/payment_request_dialog_view.cc b/chrome/browser/ui/views/payments/payment_request_dialog_view.cc
|
| index a43851a04120571ab6d3a6fb7f2f67e56f79a631..7371e594854679a4cbfeb6e7e2ebd6bf5d972122 100644
|
| --- a/chrome/browser/ui/views/payments/payment_request_dialog_view.cc
|
| +++ b/chrome/browser/ui/views/payments/payment_request_dialog_view.cc
|
| @@ -245,10 +245,13 @@ void PaymentRequestDialogView::ShowCreditCardEditor(
|
| }
|
|
|
| void PaymentRequestDialogView::ShowShippingAddressEditor(
|
| + base::OnceClosure on_edited,
|
| + base::OnceCallback<void(const autofill::AutofillProfile&)> on_added,
|
| autofill::AutofillProfile* profile) {
|
| view_stack_->Push(CreateViewAndInstallController(
|
| base::MakeUnique<ShippingAddressEditorViewController>(
|
| - request_->spec(), request_->state(), this, profile),
|
| + request_->spec(), request_->state(), this,
|
| + std::move(on_edited), std::move(on_added), profile),
|
| &controller_map_),
|
| /* animate = */ true);
|
| if (observer_for_testing_)
|
|
|