Index: chrome/browser/extensions/extension_context_menu_model.cc |
diff --git a/chrome/browser/extensions/extension_context_menu_model.cc b/chrome/browser/extensions/extension_context_menu_model.cc |
index 9ccabe94bef5f0b48b8bfaff8f453ac83cf7dacb..6ce8f165c8fdfeb9c68a48a57c61f9285158afc3 100644 |
--- a/chrome/browser/extensions/extension_context_menu_model.cc |
+++ b/chrome/browser/extensions/extension_context_menu_model.cc |
@@ -75,14 +75,13 @@ bool MenuItemMatchesAction(ExtensionContextMenuModel::ActionType type, |
int GetVisibilityStringId(Profile* profile, const Extension* extension) { |
DCHECK(profile); |
int string_id = -1; |
- if (!extensions::FeatureSwitch::extension_action_redesign()->IsEnabled()) { |
// Without the toolbar redesign, we only show the visibility toggle for |
// browser actions, and only give the option to hide. |
if (extensions::ExtensionActionManager::Get(profile)->GetBrowserAction( |
*extension)) { |
string_id = IDS_EXTENSIONS_HIDE_BUTTON; |
} |
- } else { |
+ else { |
// With the redesign, we display "show" or "hide" based on the icon's |
// visibility. |
bool visible = ExtensionActionAPI::GetBrowserActionVisibility( |