| Index: cc/animation/layer_animation_controller.cc
|
| diff --git a/cc/animation/layer_animation_controller.cc b/cc/animation/layer_animation_controller.cc
|
| index ddbf35af661d5b45e1bd361eb5d1175d6ec383ba..4e85592303ea3007915d1f577edfe667a2f0277d 100644
|
| --- a/cc/animation/layer_animation_controller.cc
|
| +++ b/cc/animation/layer_animation_controller.cc
|
| @@ -687,7 +687,10 @@ void LayerAnimationController::PromoteStartedAnimations(
|
| animations_[i]->target_property(),
|
| monotonic_time);
|
| started_event.is_impl_only = animations_[i]->is_impl_only();
|
| - events->push_back(started_event);
|
| + if (started_event.is_impl_only)
|
| + NotifyAnimationStarted(started_event);
|
| + else
|
| + events->push_back(started_event);
|
| }
|
| }
|
| }
|
| @@ -767,7 +770,10 @@ void LayerAnimationController::MarkAnimationsForDeletion(
|
| animations_[j]->target_property(),
|
| monotonic_time);
|
| finished_event.is_impl_only = animations_[j]->is_impl_only();
|
| - events->push_back(finished_event);
|
| + if (finished_event.is_impl_only)
|
| + NotifyAnimationFinished(finished_event);
|
| + else
|
| + events->push_back(finished_event);
|
| }
|
| animations_[j]->SetRunState(Animation::WaitingForDeletion,
|
| monotonic_time);
|
|
|