summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tabs/tab_strip_model.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tabs/tab_strip_model.cc')
-rw-r--r--chrome/browser/tabs/tab_strip_model.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/chrome/browser/tabs/tab_strip_model.cc b/chrome/browser/tabs/tab_strip_model.cc
index 5f53a44..6712ec1 100644
--- a/chrome/browser/tabs/tab_strip_model.cc
+++ b/chrome/browser/tabs/tab_strip_model.cc
@@ -356,17 +356,6 @@ int TabStripModel::IndexOfFirstNonPinnedTab() const {
return count();
}
-// static
-bool TabStripModel::IsTabPinningEnabled() {
- static bool checked = false;
- static bool enabled = false;
- if (!checked) {
- enabled = CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableTabPinning);
- }
- return enabled;
-}
-
void TabStripModel::AddTabContents(TabContents* contents,
int index,
bool force_index,