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/trees/layer_tree_host_impl_unittest.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/trees/layer_tree_host_impl_unittest.cc')
-rw-r--r-- | cc/trees/layer_tree_host_impl_unittest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc index 8002046..814279e 100644 --- a/cc/trees/layer_tree_host_impl_unittest.cc +++ b/cc/trees/layer_tree_host_impl_unittest.cc @@ -16,6 +16,7 @@ #include "base/containers/scoped_ptr_hash_map.h" #include "base/location.h" #include "base/thread_task_runner_handle.h" +#include "cc/animation/animation_events.h" #include "cc/animation/animation_host.h" #include "cc/animation/animation_id_provider.h" #include "cc/animation/scrollbar_animation_controller_thinning.h" @@ -151,7 +152,7 @@ class LayerTreeHostImplTest : public testing::Test, void SetNeedsCommitOnImplThread() override { did_request_commit_ = true; } void SetVideoNeedsBeginFrames(bool needs_begin_frames) override {} void PostAnimationEventsToMainThreadOnImplThread( - scoped_ptr<AnimationEventsVector> events) override {} + scoped_ptr<AnimationEvents> events) override {} bool IsInsideDraw() override { return false; } void RenewTreePriority() override {} void PostDelayedAnimationTaskOnImplThread(const base::Closure& task, |