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

Unified Diff: ios/chrome/browser/ui/payments/payment_request_coordinator.mm

Issue 2878763002: [Payments] Better default selections on iOS (Closed)
Patch Set: fix test, really Created 3 years, 7 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: ios/chrome/browser/ui/payments/payment_request_coordinator.mm
diff --git a/ios/chrome/browser/ui/payments/payment_request_coordinator.mm b/ios/chrome/browser/ui/payments/payment_request_coordinator.mm
index c43545a58c6598f6837a6d46df9d9bf57bb9d2e5..94fc2988b8563f785daf33fa358132581acb2bf9 100644
--- a/ios/chrome/browser/ui/payments/payment_request_coordinator.mm
+++ b/ios/chrome/browser/ui/payments/payment_request_coordinator.mm
@@ -304,7 +304,7 @@ class FullCardRequester
- (void)updatePaymentDetails:(web::PaymentDetails)paymentDetails {
BOOL totalValueChanged =
(_paymentRequest->payment_details().total != paymentDetails.total);
- _paymentRequest->set_payment_details(paymentDetails);
+ _paymentRequest->UpdatePaymentDetails(paymentDetails);
if (_paymentRequest->shipping_options().empty()) {
// Display error in the shipping address/option selection view.

Powered by Google App Engine
This is Rietveld 408576698