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

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

Issue 2755823002: Moved |openedByDOM| to WebState's CreateParams and public interface. (Closed)
Patch Set: . 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 fa2daa764c8e308d2882549fab02c686cb6ee713..8d3ccad5d1c72df4f5f424ea43a86b2aae556e7f 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(
« no previous file with comments | « ios/web/navigation/navigation_manager_impl.h ('k') | ios/web/navigation/navigation_manager_impl_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698