Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Unified Diff: chrome/common/chrome_switches.cc

Issue 1293813005: Change the new-task-manager flag so that the new implementation is enabled by default for all users. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 4165b42d2c07e65d0c90e3b8d0579ca57160030e..a18553e675126281e253c1584f94deba0a3c41ab 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -1356,8 +1356,8 @@ const char kDebugPrint[] = "debug-print";
#endif
#if defined(ENABLE_TASK_MANAGER)
-// Enables the new implementation of the task manager.
-const char kEnableNewTaskManager[] = "enable-new-task-manager";
+// Disables the new implementation of the task manager.
+const char kDisableNewTaskManager[] = "disable-new-task-manager";
#endif // defined(ENABLE_TASK_MANAGER)
bool AboutInSettingsEnabled() {
@@ -1411,8 +1411,8 @@ bool PowerOverlayEnabled() {
#if defined(ENABLE_TASK_MANAGER)
bool NewTaskManagerEnabled() {
- return base::CommandLine::ForCurrentProcess()->HasSwitch(
- kEnableNewTaskManager);
+ return !base::CommandLine::ForCurrentProcess()->HasSwitch(
+ kDisableNewTaskManager);
}
#endif // defined(ENABLE_TASK_MANAGER)

Powered by Google App Engine
This is Rietveld 408576698