| Index: cc/test/animation_timelines_test_common.cc
|
| diff --git a/cc/test/animation_timelines_test_common.cc b/cc/test/animation_timelines_test_common.cc
|
| index 1f6fb9b8d66eff8232100a4ae3c7624d5f17fea1..5525032703d68077236030eecbedc99345497324 100644
|
| --- a/cc/test/animation_timelines_test_common.cc
|
| +++ b/cc/test/animation_timelines_test_common.cc
|
| @@ -246,14 +246,14 @@ void AnimationTimelinesTest::AnimateLayersTransferEvents(
|
| }
|
|
|
| AnimationPlayer* AnimationTimelinesTest::GetPlayerForLayerId(int layer_id) {
|
| - const ElementAnimations* element_animations =
|
| + const scoped_refptr<ElementAnimations> element_animations =
|
| host_->GetElementAnimationsForLayerId(layer_id);
|
| return element_animations ? element_animations->players_list().head()->value()
|
| : nullptr;
|
| }
|
|
|
| AnimationPlayer* AnimationTimelinesTest::GetImplPlayerForLayerId(int layer_id) {
|
| - const ElementAnimations* element_animations =
|
| + const scoped_refptr<ElementAnimations> element_animations =
|
| host_impl_->GetElementAnimationsForLayerId(layer_id);
|
| return element_animations ? element_animations->players_list().head()->value()
|
| : nullptr;
|
|
|