| Index: cc/trees/layer_tree_host_unittest_animation.cc
|
| diff --git a/cc/trees/layer_tree_host_unittest_animation.cc b/cc/trees/layer_tree_host_unittest_animation.cc
|
| index ebf1854bddb7a384999a528f51b633d94d9f088b..aee22c80f33b0cdd303fc4f393aa49031fb61530 100644
|
| --- a/cc/trees/layer_tree_host_unittest_animation.cc
|
| +++ b/cc/trees/layer_tree_host_unittest_animation.cc
|
| @@ -1339,7 +1339,7 @@ class LayerTreeHostAnimationTestAddAnimationAfterAnimating
|
| EXPECT_EQ(2u, element_animations_copy.size());
|
| for (auto& it : element_animations_copy) {
|
| int id = it.first;
|
| - if (id == host_impl->RootLayer()->id()) {
|
| + if (id == host_impl->active_tree()->root_layer()->id()) {
|
| Animation* anim = it.second->GetAnimation(TargetProperty::TRANSFORM);
|
| EXPECT_GT((anim->start_time() - base::TimeTicks()).InSecondsF(), 0);
|
| } else if (id == layer_->id()) {
|
|
|