diff options
author | loyso <loyso@chromium.org> | 2016-01-14 14:55:30 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-14 22:56:47 +0000 |
commit | e926437dd8e656f66cf83aec9823085cccf807e2 (patch) | |
tree | d53d305f0f4956468671a4723488c06d1d662687 /cc/animation/animation_host.cc | |
parent | 2900f44f50bf81c8cef2118dbb0d719dae7ae927 (diff) | |
download | chromium_src-e926437dd8e656f66cf83aec9823085cccf807e2.zip chromium_src-e926437dd8e656f66cf83aec9823085cccf807e2.tar.gz chromium_src-e926437dd8e656f66cf83aec9823085cccf807e2.tar.bz2 |
CC Animation: Replace AnimiationEventsVector with AnimiationEvents class.
It allows us to use the forward declaration for AnimiationEvents.
This is a preparation to make AnimiationEvents an abstract class,
unknown for CC.
BUG=575053
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1584743002
Cr-Commit-Position: refs/heads/master@{#369591}
Diffstat (limited to 'cc/animation/animation_host.cc')
-rw-r--r-- | cc/animation/animation_host.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cc/animation/animation_host.cc b/cc/animation/animation_host.cc index 0c684c0..59ce274 100644 --- a/cc/animation/animation_host.cc +++ b/cc/animation/animation_host.cc @@ -8,6 +8,7 @@ #include "base/macros.h" #include "cc/animation/animation_delegate.h" +#include "cc/animation/animation_events.h" #include "cc/animation/animation_id_provider.h" #include "cc/animation/animation_player.h" #include "cc/animation/animation_registrar.h" @@ -357,17 +358,16 @@ bool AnimationHost::AnimateLayers(base::TimeTicks monotonic_time) { } bool AnimationHost::UpdateAnimationState(bool start_ready_animations, - AnimationEventsVector* events) { + AnimationEvents* events) { return animation_registrar_->UpdateAnimationState(start_ready_animations, events); } -scoped_ptr<AnimationEventsVector> AnimationHost::CreateEvents() { +scoped_ptr<AnimationEvents> AnimationHost::CreateEvents() { return animation_registrar_->CreateEvents(); } -void AnimationHost::SetAnimationEvents( - scoped_ptr<AnimationEventsVector> events) { +void AnimationHost::SetAnimationEvents(scoped_ptr<AnimationEvents> events) { return animation_registrar_->SetAnimationEvents(std::move(events)); } |