Index: content/browser/frame_host/navigation_controller_impl.cc |
diff --git a/content/browser/frame_host/navigation_controller_impl.cc b/content/browser/frame_host/navigation_controller_impl.cc |
index 68db88ba2d1c4ff1a3bbffd3dd75f01b496f548d..6027c21d53d41055a43cc4ee88db791cfd2a13b7 100644 |
--- a/content/browser/frame_host/navigation_controller_impl.cc |
+++ b/content/browser/frame_host/navigation_controller_impl.cc |
@@ -706,7 +706,7 @@ void NavigationControllerImpl::LoadURLWithParams(const LoadURLParams& params) { |
if (params.frame_tree_node_id != -1) |
entry->set_frame_tree_node_id(params.frame_tree_node_id); |
if (params.redirect_chain.size() > 0) |
- entry->set_redirect_chain(params.redirect_chain); |
+ entry->SetRedirectChain(params.redirect_chain); |
if (params.should_replace_current_entry) |
entry->set_should_replace_entry(true); |
entry->set_should_clear_history_list(params.should_clear_history_list); |
@@ -827,6 +827,7 @@ bool NavigationControllerImpl::RendererDidNavigate( |
active_entry->SetTimestamp(timestamp); |
active_entry->SetHttpStatusCode(params.http_status_code); |
active_entry->SetPageState(params.page_state); |
+ active_entry->SetRedirectChain(params.redirects); |
// Once it is committed, we no longer need to track several pieces of state on |
// the entry. |