Index: ios/clean/chrome/browser/ui/tab/tab_coordinator.mm |
diff --git a/ios/clean/chrome/browser/ui/tab/tab_coordinator.mm b/ios/clean/chrome/browser/ui/tab/tab_coordinator.mm |
index bf46bc87150d3da92af6ec7ce5c98c8f25145f6c..78cfed902a133fccc5053525cfb1f01e031ac0f3 100644 |
--- a/ios/clean/chrome/browser/ui/tab/tab_coordinator.mm |
+++ b/ios/clean/chrome/browser/ui/tab/tab_coordinator.mm |
@@ -60,9 +60,9 @@ |
ofObject:self.viewController |
selector:@selector(broadcastTabStripVisible:)]; |
- CommandDispatcher* dispatcher = self.browser->dispatcher(); |
// TabCommands |
- [dispatcher startDispatchingToTarget:self forSelector:@selector(loadURL:)]; |
+ [self.dispatcher startDispatchingToTarget:self |
+ forSelector:@selector(loadURL:)]; |
WebCoordinator* webCoordinator = [[WebCoordinator alloc] init]; |
webCoordinator.webState = self.webState; |
@@ -105,7 +105,7 @@ |
[self.browser->broadcaster() |
stopBroadcastingForSelector:@selector(broadcastTabStripVisible:)]; |
_webStateObserver.reset(); |
- [self.browser->dispatcher() stopDispatchingToTarget:self]; |
+ [self.dispatcher stopDispatchingToTarget:self]; |
} |
- (void)childCoordinatorDidStart:(BrowserCoordinator*)childCoordinator { |