Index: content/renderer/history_controller.cc |
diff --git a/content/renderer/history_controller.cc b/content/renderer/history_controller.cc |
index 850bae3cd07bb50effed94210195cfce8469028d..73ae592d4157d316cf18fadb477371326ee76458 100644 |
--- a/content/renderer/history_controller.cc |
+++ b/content/renderer/history_controller.cc |
@@ -153,7 +153,7 @@ void HistoryController::UpdateForInitialLoadInChildFrame( |
return; |
if (HistoryEntry::HistoryNode* parent_history_node = |
current_entry_->GetHistoryNodeForFrame(parent)) { |
- parent_history_node->AddChild(item, frame->GetRoutingID()); |
+ parent_history_node->AddChild(item); |
} |
} |
@@ -219,8 +219,7 @@ void HistoryController::CreateNewBackForwardItem( |
const WebHistoryItem& new_item, |
bool clone_children_of_target) { |
if (!current_entry_) { |
- current_entry_.reset( |
- new HistoryEntry(new_item, target_frame->GetRoutingID())); |
+ current_entry_.reset(new HistoryEntry(new_item)); |
} else { |
current_entry_.reset(current_entry_->CloneAndReplace( |
new_item, clone_children_of_target, target_frame, render_view_)); |