summaryrefslogtreecommitdiffstats
path: root/apps/app_shim
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_shim')
-rw-r--r--apps/app_shim/app_shim_mac.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/app_shim/app_shim_mac.cc b/apps/app_shim/app_shim_mac.cc
index 553f07c..becce61 100644
--- a/apps/app_shim/app_shim_mac.cc
+++ b/apps/app_shim/app_shim_mac.cc
@@ -5,14 +5,13 @@
#include "apps/app_shim/app_shim_mac.h"
#include "base/command_line.h"
-#include "chrome/browser/ui/app_list/app_list_util.h"
#include "chrome/common/chrome_switches.h"
namespace apps {
bool IsAppShimsEnabled() {
- return IsAppLauncherEnabled() ||
- CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableAppShims);
+ return !CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableAppShims);
}
} // namespace apps