summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r--chrome/browser/browser.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index a8501d9..83cd796 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -554,6 +554,8 @@ TabContents* Browser::AddRestoredTab(
new_tab->controller().RestoreFromState(navigations, selected_navigation);
tabstrip_model_.InsertTabContentsAt(tab_index, new_tab, select, false);
+ if (select)
+ window_->Activate();
if (profile_->HasSessionService()) {
SessionService* session_service = profile_->GetSessionService();
if (session_service)