| Index: cc/trees/layer_tree_host_common_unittest.cc
|
| diff --git a/cc/trees/layer_tree_host_common_unittest.cc b/cc/trees/layer_tree_host_common_unittest.cc
|
| index 37711b2f8f846ff220dde68ee7abeec62d30b97d..427490c0482af180db53fa66774bd50801034ed3 100644
|
| --- a/cc/trees/layer_tree_host_common_unittest.cc
|
| +++ b/cc/trees/layer_tree_host_common_unittest.cc
|
| @@ -1490,8 +1490,10 @@ TEST_F(LayerTreeHostCommonTest,
|
| EXPECT_TRUE(node->is_drawn);
|
|
|
| // When root is transparent, the layer should not be drawn.
|
| - root->OnOpacityAnimated(0.f);
|
| - render_surface1->OnOpacityAnimated(1.f);
|
| + effect_tree.OnOpacityAnimated(0.f, root->effect_tree_index(),
|
| + root->layer_tree_impl());
|
| + effect_tree.OnOpacityAnimated(1.f, render_surface1->effect_tree_index(),
|
| + root->layer_tree_impl());
|
| render_surface1->set_visible_layer_rect(gfx::Rect());
|
| {
|
| LayerImplList render_surface_layer_list;
|
|
|