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

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

Issue 2645973005: Coordinators: let the presenting view controller dismiss. (Closed)
Patch Set: Rebased Created 3 years, 11 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
« no previous file with comments | « no previous file | ios/chrome/browser/ui/alert_coordinator/loading_alert_coordinator.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/payments/payment_request_coordinator.mm
diff --git a/ios/chrome/browser/payments/payment_request_coordinator.mm b/ios/chrome/browser/payments/payment_request_coordinator.mm
index 11e16da8b153e36e609ab2c51e4a146ddc990367..0ee26c6cfff4bca390d7abbef3b44ace91637061 100644
--- a/ios/chrome/browser/payments/payment_request_coordinator.mm
+++ b/ios/chrome/browser/payments/payment_request_coordinator.mm
@@ -112,7 +112,9 @@
}
- (void)stop {
- [_navigationController dismissViewControllerAnimated:YES completion:nil];
+ [[_navigationController presentingViewController]
+ dismissViewControllerAnimated:YES
+ completion:nil];
_itemsDisplayCoordinator.reset();
_shippingAddressSelectionCoordinator.reset();
_shippingOptionSelectionCoordinator.reset();
« no previous file with comments | « no previous file | ios/chrome/browser/ui/alert_coordinator/loading_alert_coordinator.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698