summaryrefslogtreecommitdiffstats
path: root/cc/trees/proxy_impl.cc
diff options
context:
space:
mode:
authorloyso <loyso@chromium.org>2016-01-14 14:55:30 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-14 22:56:47 +0000
commite926437dd8e656f66cf83aec9823085cccf807e2 (patch)
treed53d305f0f4956468671a4723488c06d1d662687 /cc/trees/proxy_impl.cc
parent2900f44f50bf81c8cef2118dbb0d719dae7ae927 (diff)
downloadchromium_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/trees/proxy_impl.cc')
-rw-r--r--cc/trees/proxy_impl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/trees/proxy_impl.cc b/cc/trees/proxy_impl.cc
index 9a779ea..f9a1eab 100644
--- a/cc/trees/proxy_impl.cc
+++ b/cc/trees/proxy_impl.cc
@@ -11,6 +11,7 @@
#include "base/trace_event/trace_event.h"
#include "base/trace_event/trace_event_argument.h"
#include "base/trace_event/trace_event_synthetic_delay.h"
+#include "cc/animation/animation_events.h"
#include "cc/debug/benchmark_instrumentation.h"
#include "cc/debug/devtools_instrumentation.h"
#include "cc/input/top_controls_manager.h"
@@ -357,7 +358,7 @@ void ProxyImpl::SetVideoNeedsBeginFrames(bool needs_begin_frames) {
}
void ProxyImpl::PostAnimationEventsToMainThreadOnImplThread(
- scoped_ptr<AnimationEventsVector> events) {
+ scoped_ptr<AnimationEvents> events) {
TRACE_EVENT0("cc", "ProxyImpl::PostAnimationEventsToMainThreadOnImplThread");
DCHECK(IsImplThread());
channel_impl_->SetAnimationEvents(std::move(events));