Index: content/renderer/render_thread_impl.cc |
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc |
index 992825bd3167192ffe1ebb5ea60fe6fdb007f866..c7c9f4cb05f7a60ae7da52ca00584ca890181f87 100644 |
--- a/content/renderer/render_thread_impl.cc |
+++ b/content/renderer/render_thread_impl.cc |
@@ -668,8 +668,8 @@ void RenderThreadImpl::Init() { |
*base::CommandLine::ForCurrentProcess(); |
cc::LayerSettings layer_settings; |
- if (command_line.HasSwitch(switches::kEnableCompositorAnimationTimelines)) |
- layer_settings.use_compositor_animation_timelines = true; |
+ layer_settings.use_compositor_animation_timelines = |
+ !command_line.HasSwitch(switches::kDisableCompositorAnimationTimelines); |
cc_blink::WebLayerImpl::SetLayerSettings(layer_settings); |
cc::SetClientNameForMetrics("Renderer"); |