| Index: cc/animation/animation_player.cc
|
| diff --git a/cc/animation/animation_player.cc b/cc/animation/animation_player.cc
|
| index 54fc75623d0fd4dd23b8aeaa8228f7ed6c20f605..cd4b0cc008e7772f77a8d15e5d9882215aeaadad 100644
|
| --- a/cc/animation/animation_player.cc
|
| +++ b/cc/animation/animation_player.cc
|
| @@ -81,7 +81,7 @@ void AnimationPlayer::RegisterPlayer() {
|
| DCHECK(!element_animations_);
|
|
|
| // Create ElementAnimations or re-use existing.
|
| - animation_host_->RegisterPlayerForLayer(element_id_, this);
|
| + animation_host_->RegisterPlayerForElement(element_id_, this);
|
| // Get local reference to shared ElementAnimations.
|
| BindElementAnimations();
|
| }
|
| @@ -93,13 +93,13 @@ void AnimationPlayer::UnregisterPlayer() {
|
|
|
| UnbindElementAnimations();
|
| // Destroy ElementAnimations or release it if it's still needed.
|
| - animation_host_->UnregisterPlayerForLayer(element_id_, this);
|
| + animation_host_->UnregisterPlayerForElement(element_id_, this);
|
| }
|
|
|
| void AnimationPlayer::BindElementAnimations() {
|
| DCHECK(!element_animations_);
|
| element_animations_ =
|
| - animation_host_->GetElementAnimationsForLayerId(element_id_);
|
| + animation_host_->GetElementAnimationsForElementId(element_id_);
|
| DCHECK(element_animations_);
|
|
|
| // Pass all accumulated animations to ElementAnimations.
|
|
|