| Index: cc/animation/element_animations.cc
|
| diff --git a/cc/animation/element_animations.cc b/cc/animation/element_animations.cc
|
| index cde0788217d85a7d8689ba1bfc249fe5bca6ae7f..8b07e4ed99c8bbd08b6201567c1995f3bb63715c 100644
|
| --- a/cc/animation/element_animations.cc
|
| +++ b/cc/animation/element_animations.cc
|
| @@ -143,14 +143,9 @@ Animation* ElementAnimations::GetAnimationById(int animation_id) const {
|
| return layer_animation_controller_->GetAnimationById(animation_id);
|
| }
|
|
|
| -void ElementAnimations::AddEventObserver(
|
| +void ElementAnimations::SetEventObserver(
|
| LayerAnimationEventObserver* observer) {
|
| - layer_animation_controller_->AddEventObserver(observer);
|
| -}
|
| -
|
| -void ElementAnimations::RemoveEventObserver(
|
| - LayerAnimationEventObserver* observer) {
|
| - layer_animation_controller_->RemoveEventObserver(observer);
|
| + layer_animation_controller_->SetEventObserver(observer);
|
| }
|
|
|
| void ElementAnimations::OnFilterAnimated(LayerTreeType tree_type,
|
|
|