Index: cc/layers/layer_impl_unittest.cc |
diff --git a/cc/layers/layer_impl_unittest.cc b/cc/layers/layer_impl_unittest.cc |
index dc58c9ad8015015bc592437a0e50947f530a13ea..fbc48505e6d10b4066d0aeeaa2d7e5d8dc143251 100644 |
--- a/cc/layers/layer_impl_unittest.cc |
+++ b/cc/layers/layer_impl_unittest.cc |
@@ -188,7 +188,11 @@ TEST(LayerImplTest, VerifyLayerChangesAreTrackedProperly) { |
arbitrary_number, root->effect_tree_index(), |
host_impl.active_tree())); |
EXECUTE_AND_VERIFY_NO_NEED_TO_PUSH_PROPERTIES_AND_SUBTREE_CHANGED( |
- root->OnTransformAnimated(arbitrary_transform)); |
+ host_impl.active_tree() |
+ ->property_trees() |
+ ->transform_tree.OnTransformAnimated(arbitrary_transform, |
+ root->transform_tree_index(), |
+ host_impl.active_tree())); |
EXECUTE_AND_VERIFY_SUBTREE_CHANGED(root->ScrollBy(arbitrary_vector2d); |
root->SetNeedsPushProperties()); |
// SetBoundsDelta changes subtree only when masks_to_bounds is true and it |
@@ -327,7 +331,11 @@ TEST(LayerImplTest, VerifyNeedsUpdateDrawProperties) { |
arbitrary_number, layer->effect_tree_index(), |
host_impl.active_tree())); |
VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES( |
- layer->OnTransformAnimated(arbitrary_transform)); |
+ host_impl.active_tree() |
+ ->property_trees() |
+ ->transform_tree.OnTransformAnimated(arbitrary_transform, |
+ layer->transform_tree_index(), |
+ host_impl.active_tree())); |
VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetBounds(arbitrary_size); |
layer->NoteLayerPropertyChanged()); |