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

Unified Diff: cc/trees/layer_tree_host_common_unittest.cc

Issue 2340143002: cc: Rename LayerTreeHost to LayerTreeHostInProcess. (Closed)
Patch Set: tests + comment updates Created 4 years, 3 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/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 c8fe6ce451e45fea441629b178a4684c6446df47..830af9fb2fe366d33ab92b074de352814d5a225a 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);

Powered by Google App Engine
This is Rietveld 408576698