Index: third_party/WebKit/Source/core/animation/Animation.cpp |
diff --git a/third_party/WebKit/Source/core/animation/Animation.cpp b/third_party/WebKit/Source/core/animation/Animation.cpp |
index 6a62e8e44bf1d3880208bd5e643433bf706adff3..b34fac998d20df5135d6d6c6536ca9d01492b56b 100644 |
--- a/third_party/WebKit/Source/core/animation/Animation.cpp |
+++ b/third_party/WebKit/Source/core/animation/Animation.cpp |
@@ -36,7 +36,7 @@ |
#include "core/dom/Document.h" |
#include "core/dom/ExceptionCode.h" |
#include "core/dom/StyleChangeReason.h" |
-#include "core/events/AnimationPlayerEvent.h" |
+#include "core/events/AnimationPlaybackEvent.h" |
#include "core/frame/UseCounter.h" |
#include "core/inspector/InspectorInstrumentation.h" |
#include "core/inspector/InspectorTraceEvents.h" |
@@ -835,7 +835,7 @@ bool Animation::update(TimingUpdateReason reason) |
const AtomicString& eventType = EventTypeNames::cancel; |
if (getExecutionContext() && hasEventListeners(eventType)) { |
double eventCurrentTime = nullValue(); |
- m_pendingCancelledEvent = AnimationPlayerEvent::create(eventType, eventCurrentTime, timeline()->currentTime()); |
+ m_pendingCancelledEvent = AnimationPlaybackEvent::create(eventType, eventCurrentTime, timeline()->currentTime()); |
m_pendingCancelledEvent->setTarget(this); |
m_pendingCancelledEvent->setCurrentTarget(this); |
m_timeline->document()->enqueueAnimationFrameEvent(m_pendingCancelledEvent); |
@@ -844,7 +844,7 @@ bool Animation::update(TimingUpdateReason reason) |
const AtomicString& eventType = EventTypeNames::finish; |
if (getExecutionContext() && hasEventListeners(eventType)) { |
double eventCurrentTime = currentTimeInternal() * 1000; |
- m_pendingFinishedEvent = AnimationPlayerEvent::create(eventType, eventCurrentTime, timeline()->currentTime()); |
+ m_pendingFinishedEvent = AnimationPlaybackEvent::create(eventType, eventCurrentTime, timeline()->currentTime()); |
m_pendingFinishedEvent->setTarget(this); |
m_pendingFinishedEvent->setCurrentTarget(this); |
m_timeline->document()->enqueueAnimationFrameEvent(m_pendingFinishedEvent); |