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

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

Issue 2755823002: Moved |openedByDOM| to WebState's CreateParams and public interface. (Closed)
Patch Set: test fix & removed include 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 bf3c484e69ad9ae44f435fc96276505ca243c9d0..5beaaeb7f9050ef367d86639453512d97997a82b 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