Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5012)

Unified Diff: cc/animation/animation_host.cc

Issue 1584743002: CC Animation: Replace AnimiationEventsVector with AnimiationEvents class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix windows compilation with MSVC. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/animation/animation_host.cc
diff --git a/cc/animation/animation_host.cc b/cc/animation/animation_host.cc
index 512f8770402a6df420e7d79e822d5eeb486c7dd6..0760145d2cc842b9460ed0facdfff7e3dc731690 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"
@@ -344,17 +345,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));
}

Powered by Google App Engine
This is Rietveld 408576698