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

Unified Diff: ios/clean/chrome/browser/ui/tools/tools_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 | « ios/clean/chrome/browser/ui/tab_strip/tab_strip_container_coordinator.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/clean/chrome/browser/ui/tools/tools_coordinator.mm
diff --git a/ios/clean/chrome/browser/ui/tools/tools_coordinator.mm b/ios/clean/chrome/browser/ui/tools/tools_coordinator.mm
index ec262fcd41d659e96d0dd6ea4a2cd09615776737..d139b8748acfc0aac40657b09b4afd129f861560 100644
--- a/ios/clean/chrome/browser/ui/tools/tools_coordinator.mm
+++ b/ios/clean/chrome/browser/ui/tools/tools_coordinator.mm
@@ -38,8 +38,9 @@
}
- (void)stop {
- [self.menuViewController dismissViewControllerAnimated:self.context.animated
- completion:nil];
+ [self.menuViewController.presentingViewController
+ dismissViewControllerAnimated:self.context.animated
+ completion:nil];
}
#pragma mark - UIViewControllerTransitioningDelegate
« no previous file with comments | « ios/clean/chrome/browser/ui/tab_strip/tab_strip_container_coordinator.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698