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

Unified Diff: ios/clean/chrome/browser/ui/web_contents/web_coordinator.mm

Issue 2798833003: [ios clean] Updates all BrowserCoordinator to the new rule (Closed)
Patch Set: Fix unittests Created 3 years, 8 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
Index: ios/clean/chrome/browser/ui/web_contents/web_coordinator.mm
diff --git a/ios/clean/chrome/browser/ui/web_contents/web_coordinator.mm b/ios/clean/chrome/browser/ui/web_contents/web_coordinator.mm
index 94602d47f58da32d9ade646c82fb44607f750758..ba0be5ad2fcfa77e69342add322d78126a63155e 100644
--- a/ios/clean/chrome/browser/ui/web_contents/web_coordinator.mm
+++ b/ios/clean/chrome/browser/ui/web_contents/web_coordinator.mm
@@ -8,7 +8,6 @@
#import "ios/clean/chrome/browser/ui/context_menu/web_context_menu_coordinator.h"
#import "ios/clean/chrome/browser/ui/web_contents/web_contents_mediator.h"
#import "ios/clean/chrome/browser/ui/web_contents/web_contents_view_controller.h"
-#import "ios/shared/chrome/browser/coordinator_context/coordinator_context.h"
#import "ios/shared/chrome/browser/ui/coordinators/browser_coordinator+internal.h"
#include "ios/web/public/web_state/web_state.h"
#import "ios/web/public/web_state/web_state_delegate_bridge.h"
@@ -46,13 +45,6 @@
- (void)start {
self.viewController = [[WebContentsViewController alloc] init];
self.mediator.consumer = self.viewController;
-
- // Reminder: this is a no-op if |baseViewController| is nil, for example
- // when this coordinator's view controller will be contained instead of
- // presented.
- [self.context.baseViewController presentViewController:self.viewController
- animated:self.context.animated
- completion:nil];
[super start];
}
« no previous file with comments | « ios/clean/chrome/browser/ui/web_contents/BUILD.gn ('k') | ios/shared/chrome/browser/coordinator_context/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698