diff options
author | vollick <vollick@chromium.org> | 2016-03-01 06:47:38 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-01 14:48:30 +0000 |
commit | c2a4176b6099eb93c2198778442e54ad1d1ac78e (patch) | |
tree | 98add3b3fe4c8d7b0c5d472061431f061fff20ca /cc/input/scrollbar_animation_controller_linear_fade_unittest.cc | |
parent | 03e3e6721c4f77dfe862b40f42ad55a0ebe18403 (diff) | |
download | chromium_src-c2a4176b6099eb93c2198778442e54ad1d1ac78e.zip chromium_src-c2a4176b6099eb93c2198778442e54ad1d1ac78e.tar.gz chromium_src-c2a4176b6099eb93c2198778442e54ad1d1ac78e.tar.bz2 |
Use LTHI's *_list() accessors whenever possible
This is a mechanical patch which replaces instances of
LTHI->[active|pending|recycle|_tree()->list()
with
LTHI->[active|pending|recycle|_list()
BUG=557194
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1748813003
Cr-Commit-Position: refs/heads/master@{#378429}
Diffstat (limited to 'cc/input/scrollbar_animation_controller_linear_fade_unittest.cc')
-rw-r--r-- | cc/input/scrollbar_animation_controller_linear_fade_unittest.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cc/input/scrollbar_animation_controller_linear_fade_unittest.cc b/cc/input/scrollbar_animation_controller_linear_fade_unittest.cc index 20cf0b8..2f9e3bb 100644 --- a/cc/input/scrollbar_animation_controller_linear_fade_unittest.cc +++ b/cc/input/scrollbar_animation_controller_linear_fade_unittest.cc @@ -131,7 +131,7 @@ TEST_F(ScrollbarAnimationControllerLinearFadeTest, } TEST_F(ScrollbarAnimationControllerLinearFadeTest, HideOnResize) { - LayerImpl* scroll_layer = host_impl_.active_tree()->list()->LayerById(1); + LayerImpl* scroll_layer = host_impl_.active_list()->LayerById(1); ASSERT_TRUE(scroll_layer); EXPECT_EQ(gfx::Size(200, 200), scroll_layer->bounds()); @@ -162,7 +162,7 @@ TEST_F(ScrollbarAnimationControllerLinearFadeTest, HideOnResize) { } TEST_F(VerticalScrollbarAnimationControllerLinearFadeTest, HideOnResize) { - LayerImpl* scroll_layer = host_impl_.active_tree()->list()->LayerById(1); + LayerImpl* scroll_layer = host_impl_.active_list()->LayerById(1); ASSERT_TRUE(scroll_layer); EXPECT_EQ(gfx::Size(200, 200), scroll_layer->bounds()); @@ -195,7 +195,7 @@ TEST_F(ScrollbarAnimationControllerLinearFadeTest, HideOnUserNonScrollableHorz) { EXPECT_EQ(HORIZONTAL, scrollbar_layer_->orientation()); - LayerImpl* scroll_layer = host_impl_.active_tree()->list()->LayerById(1); + LayerImpl* scroll_layer = host_impl_.active_list()->LayerById(1); ASSERT_TRUE(scroll_layer); scroll_layer->set_user_scrollable_horizontal(false); @@ -211,7 +211,7 @@ TEST_F(ScrollbarAnimationControllerLinearFadeTest, ShowOnUserNonScrollableVert) { EXPECT_EQ(HORIZONTAL, scrollbar_layer_->orientation()); - LayerImpl* scroll_layer = host_impl_.active_tree()->list()->LayerById(1); + LayerImpl* scroll_layer = host_impl_.active_list()->LayerById(1); ASSERT_TRUE(scroll_layer); scroll_layer->set_user_scrollable_vertical(false); @@ -227,7 +227,7 @@ TEST_F(VerticalScrollbarAnimationControllerLinearFadeTest, HideOnUserNonScrollableVert) { EXPECT_EQ(VERTICAL, scrollbar_layer_->orientation()); - LayerImpl* scroll_layer = host_impl_.active_tree()->list()->LayerById(1); + LayerImpl* scroll_layer = host_impl_.active_list()->LayerById(1); ASSERT_TRUE(scroll_layer); scroll_layer->set_user_scrollable_vertical(false); @@ -243,7 +243,7 @@ TEST_F(VerticalScrollbarAnimationControllerLinearFadeTest, ShowOnUserNonScrollableHorz) { EXPECT_EQ(VERTICAL, scrollbar_layer_->orientation()); - LayerImpl* scroll_layer = host_impl_.active_tree()->list()->LayerById(1); + LayerImpl* scroll_layer = host_impl_.active_list()->LayerById(1); ASSERT_TRUE(scroll_layer); scroll_layer->set_user_scrollable_horizontal(false); |