Index: cc/trees/damage_tracker_unittest.cc |
diff --git a/cc/trees/damage_tracker_unittest.cc b/cc/trees/damage_tracker_unittest.cc |
index 2d531a18c79f2ec5e7ef57a498475072688ecd3c..291a474b2984a7d95f69d8a8a82ab43bc4be5df6 100644 |
--- a/cc/trees/damage_tracker_unittest.cc |
+++ b/cc/trees/damage_tracker_unittest.cc |
@@ -465,7 +465,8 @@ TEST_F(DamageTrackerTest, VerifyDamageForTransformedLayer) { |
// With the anchor on the layer's center, now we can test the rotation more |
// intuitively, since it applies about the layer's anchor. |
ClearDamageForAllSurfaces(root); |
- child->OnTransformAnimated(rotation); |
+ root->layer_tree_impl()->property_trees()->transform_tree.OnTransformAnimated( |
+ rotation, child->transform_tree_index(), root->layer_tree_impl()); |
EmulateDrawingOneFrame(root); |
// Since the child layer is square, rotation by 45 degrees about the center |