| Index: sky/engine/core/animation/css/CSSAnimations.cpp
|
| diff --git a/sky/engine/core/animation/css/CSSAnimations.cpp b/sky/engine/core/animation/css/CSSAnimations.cpp
|
| index 8fdb3f24f518a88080ab40eb1c6fd96c93f22531..95145232e931cff2b80eca905251261057070280 100644
|
| --- a/sky/engine/core/animation/css/CSSAnimations.cpp
|
| +++ b/sky/engine/core/animation/css/CSSAnimations.cpp
|
| @@ -46,8 +46,8 @@
|
| #include "core/css/resolver/StyleResolver.h"
|
| #include "core/dom/Element.h"
|
| #include "core/dom/StyleEngine.h"
|
| +#include "core/events/AnimationEvent.h"
|
| #include "core/events/TransitionEvent.h"
|
| -#include "core/events/WebKitAnimationEvent.h"
|
| #include "core/frame/UseCounter.h"
|
| #include "core/rendering/RenderLayer.h"
|
| #include "core/rendering/RenderObject.h"
|
| @@ -585,7 +585,7 @@ void CSSAnimations::calculateTransitionActiveInterpolations(CSSAnimationUpdate*
|
| void CSSAnimations::AnimationEventDelegate::maybeDispatch(Document::ListenerType listenerType, const AtomicString& eventName, double elapsedTime)
|
| {
|
| if (m_target->document().hasListenerType(listenerType)) {
|
| - RefPtrWillBeRawPtr<WebKitAnimationEvent> event = WebKitAnimationEvent::create(eventName, m_name, elapsedTime);
|
| + RefPtrWillBeRawPtr<AnimationEvent> event = AnimationEvent::create(eventName, m_name, elapsedTime);
|
| event->setTarget(m_target);
|
| m_target->document().enqueueAnimationFrameEvent(event);
|
| }
|
|
|