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

Unified Diff: cc/layers/render_surface_impl_unittest.cc

Issue 2084233002: cc: Move LayerImpl::AddChild and RemoveChild to LayerImplTestProperties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_impl_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 8d4b654cbd0dda46064df3bed42661888cddd7b9..34fc9e2296f6f7ca8da35ceb5cf3c4d617b71d54 100644
--- a/cc/layers/render_surface_impl_unittest.cc
+++ b/cc/layers/render_surface_impl_unittest.cc
@@ -91,8 +91,8 @@ TEST(RenderSurfaceLayerImplTest, AppendQuadsWithScaledMask) {
child->SetDrawsContent(true);
child->SetBounds(layer_size);
- surface->AddChild(std::move(child));
- root->AddChild(std::move(surface));
+ 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()->SetViewportSize(viewport_size);
« no previous file with comments | « cc/layers/picture_layer_impl_unittest.cc ('k') | cc/layers/render_surface_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698