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 1b2f5f6e5600fb7425a28eb62abd2699f54fbc7d..11729ff75d214097fef428a2c36d21afa74c3380 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,12 @@ 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()); |
+} |
+ |
void WebLayerTreeViewImplForTesting::registerViewportLayers( |
const blink::WebLayer* overscrollElasticityLayer, |
const blink::WebLayer* pageScaleLayer, |