| Index: ui/compositor/layer.cc
|
| diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
|
| index cfa0dc293653320c85bf1671fba99ec7abef0951..e5569d0ff63b8f515ce73594201a4667c8ddcd20 100644
|
| --- a/ui/compositor/layer.cc
|
| +++ b/ui/compositor/layer.cc
|
| @@ -132,8 +132,9 @@ const cc::LayerSettings& Layer::UILayerSettings() {
|
| // static
|
| void Layer::InitializeUILayerSettings() {
|
| base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
|
| - if (command_line->HasSwitch(switches::kUIEnableCompositorAnimationTimelines))
|
| - g_ui_layer_settings.Get().use_compositor_animation_timelines = true;
|
| + g_ui_layer_settings.Get().use_compositor_animation_timelines =
|
| + !command_line->HasSwitch(
|
| + switches::kUIDisableCompositorAnimationTimelines);
|
| }
|
|
|
| const Compositor* Layer::GetCompositor() const {
|
|
|