Chromium Code Reviews| 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 57a92f55a4ee341032d2dc8492133b699d0db368..91f84bf48d77b0acae848f41c25eb41dc2024a35 100644 |
| --- a/content/browser/frame_host/navigation_controller_impl.cc |
| +++ b/content/browser/frame_host/navigation_controller_impl.cc |
| @@ -705,7 +705,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); |
|
donnd
2014/04/01 18:31:09
We set up the redirect chain here so it will be av
|
| if (params.should_replace_current_entry) |
| entry->set_should_replace_entry(true); |
| entry->set_should_clear_history_list(params.should_clear_history_list); |
| @@ -826,6 +826,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. |