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

Unified Diff: cc/layers/video_layer_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/render_surface_unittest.cc ('k') | cc/test/layer_test_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/video_layer_impl_unittest.cc
diff --git a/cc/layers/video_layer_impl_unittest.cc b/cc/layers/video_layer_impl_unittest.cc
index b3f3da9a1eeb88ff69c1645ee18098ccc050f33f..f5e145822a1755d718485df64faaded421bdc8cc 100644
--- a/cc/layers/video_layer_impl_unittest.cc
+++ b/cc/layers/video_layer_impl_unittest.cc
@@ -107,7 +107,7 @@ TEST(VideoLayerImplTest, OccludesOtherLayers) {
video_layer_impl->SetDrawsContent(true);
video_layer_impl->SetContentsOpaque(true);
- layer_impl->AddChild(std::move(video_layer_impl));
+ layer_impl->test_properties()->AddChild(std::move(video_layer_impl));
active_tree->SetRootLayer(std::move(layer_impl));
active_tree->BuildLayerListAndPropertyTreesForTesting();
« no previous file with comments | « cc/layers/render_surface_unittest.cc ('k') | cc/test/layer_test_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698