diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-06 23:27:17 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-06 23:27:17 +0000 |
commit | 68200ecadb9bf0cbacdf9ee9418be5b16f644b81 (patch) | |
tree | 5eb8f9f4373885bb13684474226a302efafc0532 | |
parent | ef9a816c4735bf1264763fd0fa8791d8db4a8ef3 (diff) | |
download | chromium_src-68200ecadb9bf0cbacdf9ee9418be5b16f644b81.zip chromium_src-68200ecadb9bf0cbacdf9ee9418be5b16f644b81.tar.gz chromium_src-68200ecadb9bf0cbacdf9ee9418be5b16f644b81.tar.bz2 |
Restored tabs should be considered "owned" by whatever random tab is currently open.
BUG=1305200
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@469 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/browser.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc index b9ebe51..c89eedf 100644 --- a/chrome/browser/browser.cc +++ b/chrome/browser/browser.cc @@ -1238,8 +1238,10 @@ NavigationController* Browser::AddRestoredTab( NavigationController* restored_controller = BuildRestoredNavigationController(navigations, selected_navigation); - tabstrip_model_.AppendTabContents(restored_controller->active_contents(), - select); + tabstrip_model_.InsertTabContentsAt( + tabstrip_model_.count(), + restored_controller->active_contents(), + select, false); if (profile_->HasSessionService()) { SessionService* session_service = profile_->GetSessionService(); if (session_service) |