summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/navigation_controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tab_contents/navigation_controller.cc')
-rw-r--r--chrome/browser/tab_contents/navigation_controller.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/chrome/browser/tab_contents/navigation_controller.cc b/chrome/browser/tab_contents/navigation_controller.cc
index 9439f21..f294535 100644
--- a/chrome/browser/tab_contents/navigation_controller.cc
+++ b/chrome/browser/tab_contents/navigation_controller.cc
@@ -975,14 +975,6 @@ void NavigationController::CopyStateFromAndPrune(NavigationController* source) {
if (last_committed_entry_index_ != -1)
last_committed_entry_index_--;
}
-
- // Take over the session id from source.
- session_id_ = source->session_id_;
-
- // Reset source's session id as we're taking it over. We give it a new id in
- // case source is added later on, which can happen with instant enabled if the
- // tab has a before unload handler.
- source->session_id_ = SessionID();
}
void NavigationController::PruneAllButActive() {