| Index: cc/layers/render_surface_unittest.cc
|
| diff --git a/cc/layers/render_surface_unittest.cc b/cc/layers/render_surface_unittest.cc
|
| index 281a6d56ca3b1f588dd75240f7ec18b97fe5fa5d..4a7c735b99ae77bdc17e2f8d4bbc9938cf975cea 100644
|
| --- a/cc/layers/render_surface_unittest.cc
|
| +++ b/cc/layers/render_surface_unittest.cc
|
| @@ -62,10 +62,8 @@ TEST(RenderSurfaceTest, VerifySurfaceChangesAreTrackedProperly) {
|
| EXECUTE_AND_VERIFY_SURFACE_CHANGED(
|
| render_surface->SetContentRectForTesting(test_rect));
|
|
|
| - host_impl.active_tree()->property_trees()->effect_tree.OnOpacityAnimated(
|
| - 0.5f,
|
| - host_impl.active_tree()->root_layer_for_testing()->effect_tree_index(),
|
| - host_impl.active_tree());
|
| + host_impl.active_tree()->SetTreeLayerOpacityMutated(
|
| + host_impl.active_tree()->root_layer_for_testing()->element_id(), 0.5f);
|
| EXPECT_TRUE(render_surface->SurfacePropertyChanged());
|
| host_impl.active_tree()->ResetAllChangeTracking();
|
|
|
|
|