Index: Source/core/animation/ElementAnimation.h |
diff --git a/Source/core/animation/ElementAnimation.h b/Source/core/animation/ElementAnimation.h |
index eb3a90482b5e37f708758a9d47bc4ac99c1bd677..99882f28ed15f55f07b080b9b9c94e75b0ea8b9c 100644 |
--- a/Source/core/animation/ElementAnimation.h |
+++ b/Source/core/animation/ElementAnimation.h |
@@ -50,7 +50,7 @@ class ElementAnimation { |
public: |
static AnimationPlayer* animate(Element& element, const AnimationEffectOrDictionarySequence& effectInput, double duration, ExceptionState& exceptionState) |
{ |
- RefPtrWillBeRawPtr<AnimationEffect> effect = EffectInput::convert(&element, effectInput, exceptionState); |
+ AnimationEffect* effect = EffectInput::convert(&element, effectInput, exceptionState); |
if (exceptionState.hadException()) |
return 0; |
return animateInternal(element, effect, TimingInput::convert(duration)); |
@@ -58,7 +58,7 @@ public: |
static AnimationPlayer* animate(Element& element, const AnimationEffectOrDictionarySequence& effectInput, const AnimationTimingProperties& timingInput, ExceptionState& exceptionState) |
{ |
- RefPtrWillBeRawPtr<AnimationEffect> effect = EffectInput::convert(&element, effectInput, exceptionState); |
+ AnimationEffect* effect = EffectInput::convert(&element, effectInput, exceptionState); |
if (exceptionState.hadException()) |
return 0; |
return animateInternal(element, effect, TimingInput::convert(timingInput)); |
@@ -66,7 +66,7 @@ public: |
static AnimationPlayer* animate(Element& element, const AnimationEffectOrDictionarySequence& effectInput, ExceptionState& exceptionState) |
{ |
- RefPtrWillBeRawPtr<AnimationEffect> effect = EffectInput::convert(&element, effectInput, exceptionState); |
+ AnimationEffect* effect = EffectInput::convert(&element, effectInput, exceptionState); |
if (exceptionState.hadException()) |
return 0; |
return animateInternal(element, effect, Timing()); |
@@ -88,10 +88,10 @@ public: |
} |
private: |
- static AnimationPlayer* animateInternal(Element& element, PassRefPtrWillBeRawPtr<AnimationEffect> effect, const Timing& timing) |
+ static AnimationPlayer* animateInternal(Element& element, AnimationEffect* effect, const Timing& timing) |
{ |
- RefPtrWillBeRawPtr<Animation> animation = Animation::create(&element, effect, timing); |
- return element.document().timeline().play(animation.get()); |
+ Animation* animation = Animation::create(&element, effect, timing); |
+ return element.document().timeline().play(animation); |
} |
}; |