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 aaec5a47edf369e98b878dcdea5ff7ce7a124969..4eb669fd7e6171958bfb89760d15bcc3299f0f2b 100644 |
--- a/ios/clean/chrome/browser/ui/tools/tools_coordinator.mm |
+++ b/ios/clean/chrome/browser/ui/tools/tools_coordinator.mm |
@@ -8,6 +8,7 @@ |
#import "ios/clean/chrome/browser/ui/tools/tools_coordinator.h" |
+#import "ios/clean/chrome/browser/model/browser.h" |
#import "ios/clean/chrome/browser/ui/animators/zoom_transition_animator.h" |
#import "ios/clean/chrome/browser/ui/presenters/menu_presentation_controller.h" |
#import "ios/clean/chrome/browser/ui/tools/menu_view_controller.h" |
@@ -31,6 +32,8 @@ |
self.menuViewController = [[MenuViewController alloc] init]; |
self.menuViewController.modalPresentationStyle = UIModalPresentationCustom; |
self.menuViewController.transitioningDelegate = self; |
+ self.menuViewController.dispatcher = |
+ static_cast<id>(self.browser->dispatcher()); |
[self.context.baseViewController presentViewController:self.menuViewController |
animated:self.context.animated |