Index: cc/layers/layer_iterator_unittest.cc |
diff --git a/cc/layers/layer_iterator_unittest.cc b/cc/layers/layer_iterator_unittest.cc |
index 07adda82b429dac7e0cab8925d934ec5a066a294..eb7db0754d46aa327601a594527dcbddcab6428d 100644 |
--- a/cc/layers/layer_iterator_unittest.cc |
+++ b/cc/layers/layer_iterator_unittest.cc |
@@ -136,7 +136,7 @@ TEST_F(LayerIteratorTest, SimpleTree) { |
root_layer->test_properties()->AddChild(std::move(third)); |
root_layer->test_properties()->AddChild(std::move(fourth)); |
- host_impl_.active_tree()->SetRootLayer(std::move(root_layer)); |
+ host_impl_.active_tree()->SetRootLayerForTesting(std::move(root_layer)); |
LayerImplList render_surface_layer_list; |
LayerTreeHostCommon::CalcDrawPropsImplInputsForTesting inputs( |
@@ -181,7 +181,7 @@ TEST_F(LayerIteratorTest, ComplexTree) { |
root_layer->test_properties()->AddChild(std::move(root2)); |
root_layer->test_properties()->AddChild(std::move(root3)); |
- host_impl_.active_tree()->SetRootLayer(std::move(root_layer)); |
+ host_impl_.active_tree()->SetRootLayerForTesting(std::move(root_layer)); |
LayerImplList render_surface_layer_list; |
LayerTreeHostCommon::CalcDrawPropsImplInputsForTesting inputs( |
@@ -234,7 +234,7 @@ TEST_F(LayerIteratorTest, ComplexTreeMultiSurface) { |
root_layer->test_properties()->AddChild(std::move(root2)); |
root_layer->test_properties()->AddChild(std::move(root3)); |
- host_impl_.active_tree()->SetRootLayer(std::move(root_layer)); |
+ host_impl_.active_tree()->SetRootLayerForTesting(std::move(root_layer)); |
LayerImplList render_surface_layer_list; |
LayerTreeHostCommon::CalcDrawPropsImplInputsForTesting inputs( |