Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3877)

Unified Diff: chrome/browser/ui/views/payments/editor_view_controller.cc

Issue 2817533006: [Web Payments] Add PopMany and Size functions to ViewStack (Closed)
Patch Set: Remove unused Observer that caused use-after-free in tests. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/payments/editor_view_controller.cc
diff --git a/chrome/browser/ui/views/payments/editor_view_controller.cc b/chrome/browser/ui/views/payments/editor_view_controller.cc
index d666611f7e3963e53f14acd54a35ea937a9871b8..94b23bce9d0ec82646bd231ead9807c8a99eb64f 100644
--- a/chrome/browser/ui/views/payments/editor_view_controller.cc
+++ b/chrome/browser/ui/views/payments/editor_view_controller.cc
@@ -124,7 +124,7 @@ void EditorViewController::ButtonPressed(views::Button* sender,
switch (sender->tag()) {
case static_cast<int>(EditorViewControllerTags::SAVE_BUTTON):
if (ValidateModelAndSave())
- dialog()->GoBack();
+ dialog()->GoBackToPaymentSheet();
break;
default:
PaymentRequestSheetController::ButtonPressed(sender, event);

Powered by Google App Engine
This is Rietveld 408576698