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

Unified Diff: cc/layers/render_surface_impl_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/picture_layer_unittest.cc ('k') | cc/layers/render_surface_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « cc/layers/picture_layer_unittest.cc ('k') | cc/layers/render_surface_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698