| Index: chrome/browser/ui/views/payments/payment_method_view_controller.cc
|
| diff --git a/chrome/browser/ui/views/payments/payment_method_view_controller.cc b/chrome/browser/ui/views/payments/payment_method_view_controller.cc
|
| index 38a7973cf77d73089bbd56f9de3916e7d726ac98..a50c123f5c0c1a98004b1ead35aff96510c9162a 100644
|
| --- a/chrome/browser/ui/views/payments/payment_method_view_controller.cc
|
| +++ b/chrome/browser/ui/views/payments/payment_method_view_controller.cc
|
| @@ -9,7 +9,7 @@
|
|
|
| #include "base/logging.h"
|
| #include "base/memory/ptr_util.h"
|
| -#include "chrome/browser/ui/views/payments/payment_request_dialog.h"
|
| +#include "chrome/browser/ui/views/payments/payment_request_dialog_view.h"
|
| #include "chrome/browser/ui/views/payments/payment_request_views_util.h"
|
| #include "components/payments/payment_request.h"
|
| #include "components/strings/grit/components_strings.h"
|
| @@ -18,8 +18,9 @@
|
| namespace payments {
|
|
|
| PaymentMethodViewController::PaymentMethodViewController(
|
| - PaymentRequest* request, PaymentRequestDialog* dialog)
|
| - : PaymentRequestSheetController(request, dialog) {}
|
| + PaymentRequest* request,
|
| + PaymentRequestDialogView* dialog)
|
| + : PaymentRequestSheetController(request, dialog) {}
|
|
|
| PaymentMethodViewController::~PaymentMethodViewController() {}
|
|
|
| @@ -40,7 +41,7 @@ void PaymentMethodViewController::ButtonPressed(
|
| views::Button* sender, const ui::Event& event) {
|
| switch (sender->tag()) {
|
| case static_cast<int>(PaymentRequestCommonTags::CLOSE_BUTTON_TAG):
|
| - dialog()->CloseDialog();
|
| + dialog()->CloseDialog(true);
|
| break;
|
| case static_cast<int>(PaymentRequestCommonTags::BACK_BUTTON_TAG):
|
| dialog()->GoBack();
|
|
|