Index: cc/tiles/tile_manager_unittest.cc |
diff --git a/cc/tiles/tile_manager_unittest.cc b/cc/tiles/tile_manager_unittest.cc |
index 5a849477951755fe2526856e19628f50b31b89e3..0e57a42f8b3b61ab3147c4a3420e45d51fdd04d2 100644 |
--- a/cc/tiles/tile_manager_unittest.cc |
+++ b/cc/tiles/tile_manager_unittest.cc |
@@ -949,9 +949,8 @@ TEST_F(TileManagerTilePriorityQueueTest, |
host_impl()->pending_tree()->BuildLayerListAndPropertyTreesForTesting(); |
host_impl()->pending_tree()->UpdateDrawProperties(update_lcd_text); |
- host_impl()->pending_tree()->property_trees()->effect_tree.OnOpacityAnimated( |
- 0.0f, pending_child_layer->effect_tree_index(), |
- host_impl()->pending_tree()); |
+ host_impl()->pending_tree()->SetOpacityMutated( |
+ pending_child_layer->element_id(), 0.0f); |
host_impl()->AdvanceToNextFrame(base::TimeDelta::FromMilliseconds(1)); |
host_impl()->pending_tree()->UpdateDrawProperties(update_lcd_text); |