| 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
|
|
|