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

Unified Diff: cc/input/scrollbar_animation_controller_thinning_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
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;
« no previous file with comments | « cc/input/scrollbar_animation_controller_linear_fade_unittest.cc ('k') | cc/layers/heads_up_display_layer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698