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

Unified Diff: ios/chrome/browser/tabs/tab.mm

Issue 2731443003: Removed CRWWebController dependency from NativeAppNavigationController. (Closed)
Patch Set: Addressed review comments Created 3 years, 10 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/chrome/browser/tabs/tab.mm
diff --git a/ios/chrome/browser/tabs/tab.mm b/ios/chrome/browser/tabs/tab.mm
index de94f44d58f3e2e4278c4b46e5fa66c1b62ac544..6657a59508dee561c6618de0a767ced6c4b5244f 100644
--- a/ios/chrome/browser/tabs/tab.mm
+++ b/ios/chrome/browser/tabs/tab.mm
@@ -2186,7 +2186,6 @@ void TabInfoBarObserver::OnInfoBarReplaced(infobars::InfoBar* old_infobar,
initWithWebState:self.webState
requestContextGetter:browserState_->GetRequestContext()
tab:self]);
- [self.webController addObserver:nativeAppNavigationController_];
DCHECK(nativeAppNavigationController_);
}

Powered by Google App Engine
This is Rietveld 408576698