| 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 08555a3f9c5714cf6bfab46bbce3a8887d95cdc7..69e812e472e579b453c572863ffb152d5c776301 100644
|
| --- a/content/browser/frame_host/navigation_controller_impl.cc
|
| +++ b/content/browser/frame_host/navigation_controller_impl.cc
|
| @@ -1472,11 +1472,9 @@ bool NavigationControllerImpl::RendererDidNavigateAutoSubframe(
|
| switches::kSitePerProcess)) {
|
| // This may be a "new auto" case where we add a new FrameNavigationEntry, or
|
| // it may be a "history auto" case where we update an existing one.
|
| - int frame_tree_node_id = rfh->frame_tree_node()->frame_tree_node_id();
|
| NavigationEntryImpl* last_committed = GetLastCommittedEntry();
|
| - last_committed->AddOrUpdateFrameEntry(frame_tree_node_id,
|
| - rfh->GetSiteInstance(),
|
| - params.url,
|
| + last_committed->AddOrUpdateFrameEntry(rfh->frame_tree_node(),
|
| + rfh->GetSiteInstance(), params.url,
|
| params.referrer);
|
| }
|
|
|
|
|