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, 1 insertions, 1 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index 4d318a0..29eebb61 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -4141,7 +4141,7 @@ void Browser::TabRestoreServiceDestroyed(TabRestoreService* service) {
}
bool Browser::OpenInstant(WindowOpenDisposition disposition) {
- if (!instant() || !instant()->is_active())
+ if (!instant() || !instant()->is_active() || !instant()->IsCurrent())
return false;
if (disposition == CURRENT_TAB) {