Index: cc/layers/render_surface_impl_unittest.cc |
diff --git a/cc/layers/render_surface_impl_unittest.cc b/cc/layers/render_surface_impl_unittest.cc |
index 34fc9e2296f6f7ca8da35ceb5cf3c4d617b71d54..72e522adfc251d9a584321e413c8b56a45734443 100644 |
--- a/cc/layers/render_surface_impl_unittest.cc |
+++ b/cc/layers/render_surface_impl_unittest.cc |
@@ -93,7 +93,7 @@ TEST(RenderSurfaceLayerImplTest, AppendQuadsWithScaledMask) { |
surface->test_properties()->AddChild(std::move(child)); |
root->test_properties()->AddChild(std::move(surface)); |
- impl.host_impl()->active_tree()->SetRootLayer(std::move(root)); |
+ impl.host_impl()->active_tree()->SetRootLayerForTesting(std::move(root)); |
impl.host_impl()->SetViewportSize(viewport_size); |
impl.host_impl()->active_tree()->BuildLayerListAndPropertyTreesForTesting(); |
@@ -101,7 +101,7 @@ TEST(RenderSurfaceLayerImplTest, AppendQuadsWithScaledMask) { |
LayerImpl* surface_raw = impl.host_impl() |
->active_tree() |
- ->root_layer() |
+ ->root_layer_for_testing() |
->test_properties() |
->children[0]; |
RenderSurfaceImpl* render_surface_impl = surface_raw->render_surface(); |