Index: cc/trees/layer_tree_host_unittest_picture.cc |
diff --git a/cc/trees/layer_tree_host_unittest_picture.cc b/cc/trees/layer_tree_host_unittest_picture.cc |
index cbdd64173b992ac97242a338b057a72620366e81..f7a98787bcb48867456064ef39f7e45b1736db5b 100644 |
--- a/cc/trees/layer_tree_host_unittest_picture.cc |
+++ b/cc/trees/layer_tree_host_unittest_picture.cc |
@@ -250,11 +250,8 @@ class LayerTreeHostPictureTestChangeLiveTilesRectWithRecycleTree |
// Make the bottom of the layer visible. |
gfx::Transform transform; |
transform.Translate(0.f, -100000.f + 100.f); |
- impl->active_tree() |
- ->property_trees() |
- ->transform_tree.OnTransformAnimated( |
- transform, picture_impl->transform_tree_index(), |
- impl->active_tree()); |
+ impl->active_tree()->SetTreeLayerTransformMutated( |
+ picture_impl->element_id(), transform); |
impl->SetNeedsRedraw(); |
break; |
} |
@@ -265,11 +262,8 @@ class LayerTreeHostPictureTestChangeLiveTilesRectWithRecycleTree |
EXPECT_FALSE(tiling->TileAt(0, 0)); |
// Make the top of the layer visible again. |
- impl->active_tree() |
- ->property_trees() |
- ->transform_tree.OnTransformAnimated( |
- gfx::Transform(), picture_impl->transform_tree_index(), |
- impl->active_tree()); |
+ impl->active_tree()->SetTreeLayerTransformMutated( |
+ picture_impl->element_id(), gfx::Transform()); |
impl->SetNeedsRedraw(); |
break; |
} |