| Index: ios/clean/chrome/browser/ui/ntp/ntp_coordinator.mm
|
| diff --git a/ios/clean/chrome/browser/ui/ntp/ntp_coordinator.mm b/ios/clean/chrome/browser/ui/ntp/ntp_coordinator.mm
|
| index bcfe9259e7aff6f64528d6959902b4de64b629ae..f125c411bad220ebaa23fbf9a6c90823ff8d1fcc 100644
|
| --- a/ios/clean/chrome/browser/ui/ntp/ntp_coordinator.mm
|
| +++ b/ios/clean/chrome/browser/ui/ntp/ntp_coordinator.mm
|
| @@ -33,21 +33,20 @@
|
| self.viewController = [[NTPViewController alloc] init];
|
| self.mediator = [[NTPMediator alloc] initWithConsumer:self.viewController];
|
|
|
| - CommandDispatcher* dispatcher = self.browser->dispatcher();
|
| // NTPCommands
|
| - [dispatcher startDispatchingToTarget:self
|
| - forSelector:@selector(showNTPHomePanel)];
|
| - [dispatcher startDispatchingToTarget:self
|
| - forSelector:@selector(showNTPBookmarksPanel)];
|
| - [dispatcher startDispatchingToTarget:self
|
| - forSelector:@selector(showNTPRecentTabsPanel)];
|
| - self.viewController.dispatcher = static_cast<id>(self.browser->dispatcher());
|
| + [self.dispatcher startDispatchingToTarget:self
|
| + forSelector:@selector(showNTPHomePanel)];
|
| + [self.dispatcher startDispatchingToTarget:self
|
| + forSelector:@selector(showNTPBookmarksPanel)];
|
| + [self.dispatcher startDispatchingToTarget:self
|
| + forSelector:@selector(showNTPRecentTabsPanel)];
|
| + self.viewController.dispatcher = self.callableDispatcher;
|
| [super start];
|
| }
|
|
|
| - (void)stop {
|
| [super stop];
|
| - [self.browser->dispatcher() stopDispatchingToTarget:self];
|
| + [self.dispatcher stopDispatchingToTarget:self];
|
| }
|
|
|
| - (void)childCoordinatorDidStart:(BrowserCoordinator*)coordinator {
|
|
|