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.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/tabs/tab_strip_model.cc b/chrome/browser/tabs/tab_strip_model.cc
index 14df8d1..f27b5a8 100644
--- a/chrome/browser/tabs/tab_strip_model.cc
+++ b/chrome/browser/tabs/tab_strip_model.cc
@@ -660,7 +660,8 @@ bool TabStripModel::IsContextMenuCommandEnabled(
case CommandTogglePinned:
return !IsAppTab(context_index);
case CommandBookmarkAllTabs:
- return delegate_->CanBookmarkAllTabs();
+ return browser_defaults::bookmarks_enabled &&
+ delegate_->CanBookmarkAllTabs();
case CommandUseVerticalTabs:
return true;
default: