Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1541)

Unified Diff: cc/tiles/tile_manager_unittest.cc

Issue 2762123004: cc: LayerTreeHostImpl uses element id to tick animations (Closed)
Patch Set: review comments Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698