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 4b77f6d7f0fe00cf9bbc61fce1a6b0bb60e28306..e1a1aa3cd53a5b79aafd9cd8c544d86f539232cf 100644 |
--- a/cc/input/scrollbar_animation_controller_thinning_unittest.cc |
+++ b/cc/input/scrollbar_animation_controller_thinning_unittest.cc |
@@ -63,7 +63,7 @@ class ScrollbarAnimationControllerThinningTest |
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)); |
+ host_impl_.active_tree()->SetRootLayerForTesting(std::move(clip)); |
scrollbar_layer_->SetScrollLayerId(scroll_layer_ptr->id()); |
scrollbar_layer_->test_properties()->opacity_can_animate = true; |