Index: cc/test/fake_layer_tree_host.cc |
diff --git a/cc/test/fake_layer_tree_host.cc b/cc/test/fake_layer_tree_host.cc |
index 8b885b1a886b5f00a9bd1c0b9afb2c6b701cb346..9f5956a07a34a7db032f3f1c76a079b884342cb0 100644 |
--- a/cc/test/fake_layer_tree_host.cc |
+++ b/cc/test/fake_layer_tree_host.cc |
@@ -111,7 +111,7 @@ LayerImpl* FakeLayerTreeHost::CommitAndCreateLayerImplTree() { |
active_tree()->SetPropertyTrees(property_trees()); |
TreeSynchronizer::PushLayerProperties(root_layer()->GetLayerTree(), |
active_tree()); |
- animation_host()->PushPropertiesTo(host_impl_.animation_host()); |
+ layer_tree_->animation_host()->PushPropertiesTo(host_impl_.animation_host()); |
active_tree()->UpdatePropertyTreeScrollOffset(property_trees()); |
@@ -137,7 +137,7 @@ LayerImpl* FakeLayerTreeHost::CommitAndCreatePendingTree() { |
pending_tree()->SetPropertyTrees(property_trees()); |
TreeSynchronizer::PushLayerProperties(root_layer()->GetLayerTree(), |
pending_tree()); |
- animation_host()->PushPropertiesTo(host_impl_.animation_host()); |
+ layer_tree_->animation_host()->PushPropertiesTo(host_impl_.animation_host()); |
pending_tree()->UpdatePropertyTreeScrollOffset(property_trees()); |
return pending_tree()->root_layer_for_testing(); |