Index: content/test/web_layer_tree_view_impl_for_testing.cc |
diff --git a/content/test/web_layer_tree_view_impl_for_testing.cc b/content/test/web_layer_tree_view_impl_for_testing.cc |
index 20da3cd6208d63dcb76119b2bcde30dd5b60cc22..6f7015646ff4bed59a325e2c94529ee10fee67f8 100644 |
--- a/content/test/web_layer_tree_view_impl_for_testing.cc |
+++ b/content/test/web_layer_tree_view_impl_for_testing.cc |
@@ -159,6 +159,13 @@ void WebLayerTreeViewImplForTesting::DidFailToInitializeOutputSurface() { |
RequestNewOutputSurface(); |
} |
+void WebLayerTreeViewImplForTesting::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 WebLayerTreeViewImplForTesting::registerViewportLayers( |
const blink::WebLayer* overscrollElasticityLayer, |
const blink::WebLayer* pageScaleLayer, |