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 253c81855872dd1c41751e1cd6039a039e6af8fd..b0413691ef428e5fde70238957cf40d020d56b6b 100644 |
--- a/content/browser/frame_host/navigation_controller_impl.cc |
+++ b/content/browser/frame_host/navigation_controller_impl.cc |
@@ -914,6 +914,8 @@ bool NavigationControllerImpl::RendererDidNavigate( |
NavigationEntryImpl* active_entry = GetLastCommittedEntry(); |
active_entry->SetTimestamp(timestamp); |
active_entry->SetHttpStatusCode(params.http_status_code); |
+ // TODO(creis): Do this on the frame entry instead, once we have them for |
+ // manual subframe navigations in --site-per-process. |
active_entry->SetPageState(params.page_state); |
active_entry->SetRedirectChain(params.redirects); |
@@ -1488,7 +1490,7 @@ bool NavigationControllerImpl::RendererDidNavigateAutoSubframe( |
NavigationEntryImpl* last_committed = GetLastCommittedEntry(); |
last_committed->AddOrUpdateFrameEntry(rfh->frame_tree_node(), |
rfh->GetSiteInstance(), params.url, |
- params.referrer); |
+ params.referrer, params.page_state); |
// Cross-process subframe navigations may leave a pending entry around. |
// Clear it if it's actually for the subframe. |