Index: Source/core/animation/ElementAnimation.h |
diff --git a/Source/core/animation/ElementAnimation.h b/Source/core/animation/ElementAnimation.h |
index 51775ff9526cdc7d61c18d9c26dd412bb9ee653e..f067319b391c33e53829dbc5d6eaff1aa738c230 100644 |
--- a/Source/core/animation/ElementAnimation.h |
+++ b/Source/core/animation/ElementAnimation.h |
@@ -78,7 +78,7 @@ private: |
static AnimationPlayer* animateInternal(Element& element, PassRefPtrWillBeRawPtr<AnimationEffect> effect, const Timing& timing) |
{ |
if (RuntimeEnabledFeatures::webAnimationsAPIEnabled()) { |
- RefPtr<Animation> animation = Animation::create(&element, effect, timing); |
+ RefPtrWillBeRawPtr<Animation> animation = Animation::create(&element, effect, timing); |
return element.document().timeline().play(animation.get()); |
} |
return 0; |