| Index: chrome/browser/ui/views/payments/payment_request_sheet_controller.cc
|
| diff --git a/chrome/browser/ui/views/payments/payment_request_sheet_controller.cc b/chrome/browser/ui/views/payments/payment_request_sheet_controller.cc
|
| index 0fc3bb618dd4e885905bb89a9fa34d67fc7fce2d..88ff8bc579dc8397011cfed0205379903d521f52 100644
|
| --- a/chrome/browser/ui/views/payments/payment_request_sheet_controller.cc
|
| +++ b/chrome/browser/ui/views/payments/payment_request_sheet_controller.cc
|
| @@ -18,9 +18,10 @@
|
| namespace payments {
|
|
|
| PaymentRequestSheetController::PaymentRequestSheetController(
|
| - PaymentRequest* request, PaymentRequestDialogView* dialog)
|
| - : request_(request), dialog_(dialog) {
|
| -}
|
| + PaymentRequestSpec* spec,
|
| + PaymentRequestState* state,
|
| + PaymentRequestDialogView* dialog)
|
| + : spec_(spec), state_(state), dialog_(dialog) {}
|
|
|
| std::unique_ptr<views::Button>
|
| PaymentRequestSheetController::CreatePrimaryButton() {
|
| @@ -42,7 +43,7 @@ void PaymentRequestSheetController::ButtonPressed(
|
| dialog()->GoBack();
|
| break;
|
| case PaymentRequestCommonTags::PAY_BUTTON_TAG:
|
| - request()->Pay();
|
| + dialog()->Pay();
|
| break;
|
| case PaymentRequestCommonTags::PAYMENT_REQUEST_COMMON_TAG_MAX:
|
| NOTREACHED();
|
|
|