| Index: content/renderer/gpu/render_widget_compositor.cc
|
| diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc
|
| index 54d3b90010e12db27ffc363347fa2b121cfa0c3c..91a72dcc38cb8f0755735d78066e1d48f68f75f2 100644
|
| --- a/content/renderer/gpu/render_widget_compositor.cc
|
| +++ b/content/renderer/gpu/render_widget_compositor.cc
|
| @@ -232,10 +232,6 @@ void RenderWidgetCompositor::Initialize() {
|
| settings.accelerated_animation_enabled =
|
| !cmd->HasSwitch(cc::switches::kDisableThreadedAnimation);
|
| settings.use_display_lists = cmd->HasSwitch(switches::kEnableSlimmingPaint);
|
| - if (cmd->HasSwitch(switches::kEnableCompositorAnimationTimelines)) {
|
| - settings.use_compositor_animation_timelines = true;
|
| - blink::WebRuntimeFeatures::enableCompositorAnimationTimelines(true);
|
| - }
|
| if (cmd->HasSwitch(switches::kEnableBeginFrameScheduling) &&
|
| !widget_->for_oopif()) {
|
| // TODO(simonhong): Apply BeginFrame scheduling for OOPIF.
|
| @@ -680,12 +676,6 @@ void RenderWidgetCompositor::didStopFlinging() {
|
| layer_tree_host_->DidStopFlinging();
|
| }
|
|
|
| -void RenderWidgetCompositor::registerForAnimations(blink::WebLayer* layer) {
|
| - cc::Layer* cc_layer = static_cast<cc_blink::WebLayerImpl*>(layer)->layer();
|
| - cc_layer->RegisterForAnimations(layer_tree_host_->animation_registrar(),
|
| - layer_tree_host_->settings());
|
| -}
|
| -
|
| void RenderWidgetCompositor::registerViewportLayers(
|
| const blink::WebLayer* overscrollElasticityLayer,
|
| const blink::WebLayer* pageScaleLayer,
|
|
|