summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/browser.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index 32a15ca..6027417 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -2109,8 +2109,8 @@ void Browser::CreateHistoricalTab(TabContents* contents) {
return;
}
- // We only create historical tab entries for normal tabbed browser windows.
- if (type() == TYPE_NORMAL) {
+ // We only create historical tab entries for tabbed browser windows.
+ if (SupportsWindowFeature(FEATURE_TABSTRIP)) {
profile()->GetTabRestoreService()->CreateHistoricalTab(
&contents->controller());
}