Index: chrome/browser/browser_navigator.cc |
diff --git a/chrome/browser/browser_navigator.cc b/chrome/browser/browser_navigator.cc |
index 54edd144c7823c7e45588c0e5ad516685f562ace..17cd7011d38d18f558bae5a1cbe4d97e5acfa0ae 100644 |
--- a/chrome/browser/browser_navigator.cc |
+++ b/chrome/browser/browser_navigator.cc |
@@ -185,6 +185,8 @@ void NormalizeDisposition(browser::NavigateParams* params) { |
// background. |
if (params->disposition == NEW_BACKGROUND_TAB) |
params->tabstrip_add_types &= ~TabStripModel::ADD_SELECTED; |
+ else if (params->disposition == NEW_FOREGROUND_TAB) |
+ params->tabstrip_add_types |= TabStripModel::ADD_SELECTED; |
// Code that wants to open a new window typically expects it to be shown |
// automatically. |