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

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

Issue 2808883002: [Payments] Fix bug in shipping option selection. (Closed)
Patch Set: Initial 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/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 9ab08ea400c6b0ff186ea72fefcf46b9672f8771..9f239fe9bc9b9b7c7cbe7bc5a69f832cf5905744 100644
--- a/chrome/browser/ui/views/payments/payment_request_dialog_view.cc
+++ b/chrome/browser/ui/views/payments/payment_request_dialog_view.cc
@@ -184,7 +184,7 @@ void PaymentRequestDialogView::ShowShippingProfileSheet() {
&controller_map_),
/* animate = */ true);
if (observer_for_testing_)
- observer_for_testing_->OnShippingSectionOpened();
+ observer_for_testing_->OnShippingAddressSectionOpened();
}
void PaymentRequestDialogView::ShowShippingOptionSheet() {
@@ -193,6 +193,8 @@ void PaymentRequestDialogView::ShowShippingOptionSheet() {
request_->spec(), request_->state(), this),
&controller_map_),
/* animate = */ true);
+ if (observer_for_testing_)
+ observer_for_testing_->OnShippingOptionSectionOpened();
}
void PaymentRequestDialogView::ShowCvcUnmaskPrompt(

Powered by Google App Engine
This is Rietveld 408576698