| Index: cc/animation/animation_timeline.cc
|
| diff --git a/cc/animation/animation_timeline.cc b/cc/animation/animation_timeline.cc
|
| index c3f5e6918b7f502402d44423e905b4637f0d76b8..a5d320bbcce0bc029b6b07842cc2bcaa540977f1 100644
|
| --- a/cc/animation/animation_timeline.cc
|
| +++ b/cc/animation/animation_timeline.cc
|
| @@ -50,8 +50,6 @@ void AnimationTimeline::DetachPlayer(scoped_refptr<AnimationPlayer> player) {
|
| ErasePlayers(iter, iter + 1);
|
| break;
|
| }
|
| -
|
| - player->SetAnimationHost(nullptr);
|
| }
|
|
|
| AnimationPlayer* AnimationTimeline::GetPlayerById(int player_id) const {
|
| @@ -103,6 +101,7 @@ void AnimationTimeline::ErasePlayers(AnimationPlayerList::iterator begin,
|
| if (player->element_animations())
|
| player->DetachLayer();
|
| player->SetAnimationTimeline(nullptr);
|
| + player->SetAnimationHost(nullptr);
|
| }
|
|
|
| players_.erase(begin, end);
|
|
|