Index: content/browser/tab_contents/navigation_controller.cc |
diff --git a/content/browser/tab_contents/navigation_controller.cc b/content/browser/tab_contents/navigation_controller.cc |
index e29ecc31ded29d91e7b56219710a56d94a821cfe..767bd871f162bdf6dfee36fcfd6c87825108a93d 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_--; |
} |
+ |
+ // Send a message to active render view asking to offset messages. |
+ tab_contents_->OffsetAndPruneHistory(entry_count() - 1); |
} |
void NavigationController::PruneAllButActive() { |