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

Unified Diff: cc/trees/layer_tree_host_common_unittest.cc

Issue 2340143002: cc: Rename LayerTreeHost to LayerTreeHostInProcess. (Closed)
Patch Set: content test 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 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);

Powered by Google App Engine
This is Rietveld 408576698