| 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..4dfa859f0c95583867d818388787446d5570d1a8 100644
|
| --- a/chrome/browser/ui/views/payments/profile_list_view_controller.cc
|
| +++ b/chrome/browser/ui/views/payments/profile_list_view_controller.cc
|
| @@ -58,7 +58,8 @@ class ProfileItem : public PaymentRequestItemList::Item {
|
| : payments::PaymentRequestItemList::Item(spec,
|
| state,
|
| parent_list,
|
| - selected),
|
| + selected,
|
| + /*show_edit_button=*/true),
|
| parent_view_(parent_view),
|
| profile_(profile),
|
| dialog_(dialog) {}
|
| @@ -94,6 +95,8 @@ class ProfileItem : public PaymentRequestItemList::Item {
|
| parent_view_->ShowEditor(profile_);
|
| }
|
|
|
| + void EditButtonPressed() override { parent_view_->ShowEditor(profile_); }
|
| +
|
| ProfileListViewController* parent_view_;
|
| autofill::AutofillProfile* profile_;
|
| PaymentRequestDialogView* dialog_;
|
|
|