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

Unified Diff: cc/layers/layer_iterator_unittest.cc

Issue 2080223010: cc: Clean up root_layer code in LTI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase++ Created 4 years, 6 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
« no previous file with comments | « cc/layers/layer_impl_unittest.cc ('k') | cc/layers/layer_list_iterator_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « cc/layers/layer_impl_unittest.cc ('k') | cc/layers/layer_list_iterator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698