diff options
Diffstat (limited to 'content/browser/tab_contents/navigation_controller.cc')
-rw-r--r-- | content/browser/tab_contents/navigation_controller.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/content/browser/tab_contents/navigation_controller.cc b/content/browser/tab_contents/navigation_controller.cc index e29ecc3..0144fef 100644 --- a/content/browser/tab_contents/navigation_controller.cc +++ b/content/browser/tab_contents/navigation_controller.cc @@ -931,6 +931,9 @@ void NavigationController::CopyStateFromAndPrune(NavigationController* source, if (last_committed_entry_index_ != -1) last_committed_entry_index_--; } + + // Update the history in the RenderView. + tab_contents_->SetHistoryLengthAndClear(max_source_index); } void NavigationController::PruneAllButActive() { |