Index: cc/tiles/tile_manager_unittest.cc |
diff --git a/cc/tiles/tile_manager_unittest.cc b/cc/tiles/tile_manager_unittest.cc |
index 9e904b815aaa257efa7ff1453cb62bdc7963a934..61cdc0cc4765dfa1d6604d269e236f22c4bfa041 100644 |
--- a/cc/tiles/tile_manager_unittest.cc |
+++ b/cc/tiles/tile_manager_unittest.cc |
@@ -915,7 +915,9 @@ TEST_F(TileManagerTilePriorityQueueTest, |
host_impl()->pending_tree()->BuildLayerListAndPropertyTreesForTesting(); |
host_impl()->pending_tree()->UpdateDrawProperties(update_lcd_text); |
- pending_child_layer->OnOpacityAnimated(0.0); |
+ host_impl()->pending_tree()->property_trees()->effect_tree.OnOpacityAnimated( |
+ 0.0f, pending_child_layer->effect_tree_index(), |
+ host_impl()->pending_tree()); |
host_impl()->AdvanceToNextFrame(base::TimeDelta::FromMilliseconds(1)); |
host_impl()->pending_tree()->UpdateDrawProperties(update_lcd_text); |