Index: cc/trees/layer_tree_host_common_unittest.cc |
diff --git a/cc/trees/layer_tree_host_common_unittest.cc b/cc/trees/layer_tree_host_common_unittest.cc |
index 204431f74916a75c7d895d2aaa69ad45240a8831..3832b9736ce7992fbd9da31ffe8d8e55cdf55f37 100644 |
--- a/cc/trees/layer_tree_host_common_unittest.cc |
+++ b/cc/trees/layer_tree_host_common_unittest.cc |
@@ -9543,7 +9543,7 @@ TEST_F(LayerTreeHostCommonTest, OpacityAnimationsTrackingTest) { |
EXPECT_TRUE(node->has_potential_opacity_animation); |
animation_ptr->set_time_offset(base::TimeDelta::FromMilliseconds(0)); |
- root->GetLayerTreeHostForTesting()->AnimateLayers( |
+ host()->AnimateLayers( |
base::TimeTicks::FromInternalValue(std::numeric_limits<int64_t>::max())); |
node = tree.Node(animated->effect_tree_index()); |
EXPECT_TRUE(node->is_currently_animating_opacity); |
@@ -9600,7 +9600,7 @@ TEST_F(LayerTreeHostCommonTest, TransformAnimationsTrackingTest) { |
EXPECT_TRUE(node->has_potential_animation); |
animation_ptr->set_time_offset(base::TimeDelta::FromMilliseconds(0)); |
- root->GetLayerTreeHostForTesting()->AnimateLayers( |
+ host()->AnimateLayers( |
base::TimeTicks::FromInternalValue(std::numeric_limits<int64_t>::max())); |
node = tree.Node(animated->transform_tree_index()); |
EXPECT_TRUE(node->is_currently_animating); |