Index: Source/core/animation/css/CSSAnimations.cpp |
diff --git a/Source/core/animation/css/CSSAnimations.cpp b/Source/core/animation/css/CSSAnimations.cpp |
index b111a3943d66ec8f3c859aef36d24510c0b936da..00d4ba9e6d86dd52cf6d08987e4dd58604d436bf 100644 |
--- a/Source/core/animation/css/CSSAnimations.cpp |
+++ b/Source/core/animation/css/CSSAnimations.cpp |
@@ -619,7 +619,7 @@ void CSSAnimations::calculateTransitionActiveInterpolations(CSSAnimationUpdate* |
void CSSAnimations::AnimationEventDelegate::maybeDispatch(Document::ListenerType listenerType, const AtomicString& eventName, double elapsedTime) |
{ |
if (m_target->document().hasListenerType(listenerType)) { |
- RefPtr<WebKitAnimationEvent> event = WebKitAnimationEvent::create(eventName, m_name, elapsedTime); |
+ RefPtrWillBeRawPtr<WebKitAnimationEvent> event = WebKitAnimationEvent::create(eventName, m_name, elapsedTime); |
event->setTarget(m_target); |
m_target->document().enqueueAnimationFrameEvent(event); |
} |
@@ -663,7 +663,7 @@ void CSSAnimations::TransitionEventDelegate::onEventCondition(const TimedItem* t |
double elapsedTime = timing.iterationDuration; |
const AtomicString& eventType = EventTypeNames::transitionend; |
String pseudoElement = PseudoElement::pseudoElementNameForEvents(m_target->pseudoId()); |
- RefPtr<TransitionEvent> event = TransitionEvent::create(eventType, propertyName, elapsedTime, pseudoElement); |
+ RefPtrWillBeRawPtr<TransitionEvent> event = TransitionEvent::create(eventType, propertyName, elapsedTime, pseudoElement); |
event->setTarget(m_target); |
m_target->document().enqueueAnimationFrameEvent(event); |
} |