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

Unified Diff: cc/tiles/tile_manager_unittest.cc

Issue 2253233003: cc : Add OnOpacityAnimated to effect tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 4 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 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);

Powered by Google App Engine
This is Rietveld 408576698