Index: content/browser/frame_host/navigator_impl.cc |
diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc |
index 9a211eee80eb1e22f74bb54b107430243be72bcc..25b53cde0cfc2e6746f14b80cc9f6a5d84cb0d36 100644 |
--- a/content/browser/frame_host/navigator_impl.cc |
+++ b/content/browser/frame_host/navigator_impl.cc |
@@ -317,8 +317,10 @@ bool NavigatorImpl::NavigateToEntry( |
dest_render_frame_host->Navigate( |
entry.ConstructCommonNavigationParams(navigation_type), |
entry.ConstructStartNavigationParams(), |
- entry.ConstructCommitNavigationParams(navigation_start), |
- entry.ConstructHistoryNavigationParams(controller_)); |
+ entry.ConstructCommitNavigationParams( |
+ navigation_start, controller_->GetIndexOfEntry(&entry), |
+ controller_->GetLastCommittedEntryIndex(), |
+ controller_->GetEntryCount())); |
} else { |
// No need to navigate again. Just resume the deferred request. |
dest_render_frame_host->GetProcess()->ResumeDeferredNavigation( |
@@ -698,8 +700,7 @@ void NavigatorImpl::CommitNavigation(FrameTreeNode* frame_tree_node, |
render_frame_host->CommitNavigation(response, body.Pass(), |
navigation_request->common_params(), |
- navigation_request->commit_params(), |
- navigation_request->history_params()); |
+ navigation_request->commit_params()); |
} |
// PlzNavigate |