summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tabs
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tabs')
-rw-r--r--chrome/browser/tabs/tab_strip_model.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/browser/tabs/tab_strip_model.cc b/chrome/browser/tabs/tab_strip_model.cc
index 39f4b66..409815a 100644
--- a/chrome/browser/tabs/tab_strip_model.cc
+++ b/chrome/browser/tabs/tab_strip_model.cc
@@ -397,10 +397,7 @@ bool TabStripModel::IsTabPinned(int index) const {
bool TabStripModel::IsAppTab(int index) const {
// TODO (sky): this is temporary and should be integrated with real apps.
- return CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnablePhantomTabs) &&
- browser_defaults::kPinnedTabsActLikeApps &&
- IsTabPinned(index);
+ return browser_defaults::kPinnedTabsActLikeApps && IsTabPinned(index);
}
bool TabStripModel::IsPhantomTab(int index) const {