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

Unified Diff: ios/web/navigation/navigation_manager_impl.mm

Issue 2755823002: Moved |openedByDOM| to WebState's CreateParams and public interface. (Closed)
Patch Set: BVC session controller cleanup Created 3 years, 9 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/web/navigation/navigation_manager_impl.mm
diff --git a/ios/web/navigation/navigation_manager_impl.mm b/ios/web/navigation/navigation_manager_impl.mm
index 41454efe306c8d2362ce2a91af245e2fceb0df81..38b2c06c6a344e66d37d4df25b2cf739aee89d81 100644
--- a/ios/web/navigation/navigation_manager_impl.mm
+++ b/ios/web/navigation/navigation_manager_impl.mm
@@ -97,10 +97,9 @@ bool AreURLsInPageNavigation(const GURL& existing_url, const GURL& new_url) {
[session_controller_ setNavigationManager:this];
}
-void NavigationManagerImpl::InitializeSession(BOOL opened_by_dom) {
- SetSessionController([[CRWSessionController alloc]
- initWithBrowserState:browser_state_
- openedByDOM:opened_by_dom]);
+void NavigationManagerImpl::InitializeSession() {
+ SetSessionController(
+ [[CRWSessionController alloc] initWithBrowserState:browser_state_]);
}
void NavigationManagerImpl::ReplaceSessionHistory(

Powered by Google App Engine
This is Rietveld 408576698