Index: cc/trees/layer_tree_host_impl.cc |
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc |
index d31265ce56bedef65152b0e5b6d7bbd015309898..139eec14c91dfe279e3c8c4b004d96028e7a7464 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -21,6 +21,7 @@ |
#include "base/stl_util.h" |
#include "base/strings/stringprintf.h" |
#include "base/trace_event/trace_event_argument.h" |
+#include "cc/animation/animation_events.h" |
#include "cc/animation/animation_host.h" |
#include "cc/animation/animation_id_provider.h" |
#include "cc/animation/scroll_offset_animation_curve.h" |
@@ -3265,7 +3266,7 @@ void LayerTreeHostImpl::UpdateAnimationState(bool start_ready_animations) { |
return; |
bool has_active_animations = false; |
- scoped_ptr<AnimationEventsVector> events; |
+ scoped_ptr<AnimationEvents> events; |
if (animation_host_) { |
events = animation_host_->CreateEvents(); |
@@ -3277,7 +3278,7 @@ void LayerTreeHostImpl::UpdateAnimationState(bool start_ready_animations) { |
start_ready_animations, events.get()); |
} |
- if (!events->empty()) |
+ if (!events->events_.empty()) |
client_->PostAnimationEventsToMainThreadOnImplThread(std::move(events)); |
if (has_active_animations) |