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

Unified Diff: cc/input/scrollbar_animation_controller_thinning_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/input/scrollbar_animation_controller_linear_fade_unittest.cc ('k') | cc/layers/layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input/scrollbar_animation_controller_thinning_unittest.cc
diff --git a/cc/input/scrollbar_animation_controller_thinning_unittest.cc b/cc/input/scrollbar_animation_controller_thinning_unittest.cc
index 7e5a0e446b17e5a18ec176ab5cdac4c91d98d787..4b77f6d7f0fe00cf9bbc61fce1a6b0bb60e28306 100644
--- a/cc/input/scrollbar_animation_controller_thinning_unittest.cc
+++ b/cc/input/scrollbar_animation_controller_thinning_unittest.cc
@@ -61,8 +61,8 @@ class ScrollbarAnimationControllerThinningTest
kTrackStart, kIsLeftSideVerticalScrollbar, kIsOverlayScrollbar);
scrollbar_layer_ = scrollbar.get();
- scroll_layer->AddChild(std::move(scrollbar));
- clip_layer_->AddChild(std::move(scroll_layer));
+ scroll_layer->test_properties()->AddChild(std::move(scrollbar));
+ clip_layer_->test_properties()->AddChild(std::move(scroll_layer));
host_impl_.active_tree()->SetRootLayer(std::move(clip));
scrollbar_layer_->SetScrollLayerId(scroll_layer_ptr->id());
« no previous file with comments | « cc/input/scrollbar_animation_controller_linear_fade_unittest.cc ('k') | cc/layers/layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698