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

Unified Diff: ui/compositor/compositor_switches.cc

Issue 164373012: Remove options to disable deadline scheduling (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 6 years, 10 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
« no previous file with comments | « ui/compositor/compositor_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor_switches.cc
diff --git a/ui/compositor/compositor_switches.cc b/ui/compositor/compositor_switches.cc
index 3e3002d9a92004e5d38262727cf39fa17a758e89..b50297c1ab7a1fb06dc73426feea3cc7514572f3 100644
--- a/ui/compositor/compositor_switches.cc
+++ b/ui/compositor/compositor_switches.cc
@@ -10,28 +10,8 @@ namespace switches {
const char kDisableTestCompositor[] = "disable-test-compositor";
-const char kUIDisableDeadlineScheduling[] = "ui-disable-deadline-scheduling";
-
const char kUIDisableThreadedCompositing[] = "ui-disable-threaded-compositing";
-const char kUIEnableDeadlineScheduling[] = "ui-enable-deadline-scheduling";
-
const char kUIShowPaintRects[] = "ui-show-paint-rects";
-bool IsUIDeadlineSchedulingEnabled() {
- const CommandLine& command_line = *CommandLine::ForCurrentProcess();
-
- // Default to disabled.
- bool enabled = false;
-
- // Default to enabled for Aura.
- enabled = true;
-
- // Flags override.
- enabled |= command_line.HasSwitch(switches::kUIEnableDeadlineScheduling);
- enabled &= !command_line.HasSwitch(switches::kUIDisableDeadlineScheduling);
-
- return enabled;
-}
-
} // namespace switches
« no previous file with comments | « ui/compositor/compositor_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698