Index: Source/core/animation/EffectInput.cpp |
diff --git a/Source/core/animation/EffectInput.cpp b/Source/core/animation/EffectInput.cpp |
index 49783b7372c3489c8491851073d1561b600a887d..218480fee7eb4410aac8f0e8e34a77ad9c6e4e40 100644 |
--- a/Source/core/animation/EffectInput.cpp |
+++ b/Source/core/animation/EffectInput.cpp |
@@ -189,7 +189,7 @@ const QualifiedName* supportedSVGAttribute(const String& property, SVGElement* s |
} // namespace |
-PassRefPtrWillBeRawPtr<AnimationEffect> EffectInput::convert(Element* element, const Vector<Dictionary>& keyframeDictionaryVector, ExceptionState& exceptionState) |
+AnimationEffect* EffectInput::convert(Element* element, const Vector<Dictionary>& keyframeDictionaryVector, ExceptionState& exceptionState) |
{ |
// FIXME: Remove the dependency on element. |
if (!element) |
@@ -200,7 +200,7 @@ PassRefPtrWillBeRawPtr<AnimationEffect> EffectInput::convert(Element* element, c |
double lastOffset = 0; |
for (const auto& keyframeDictionary : keyframeDictionaryVector) { |
- RefPtrWillBeRawPtr<StringKeyframe> keyframe = StringKeyframe::create(); |
+ StringKeyframe* keyframe = StringKeyframe::create(); |
ScriptValue scriptValue; |
bool frameHasOffset = DictionaryHelper::get(keyframeDictionary, "offset", scriptValue) && !scriptValue.isNull(); |
@@ -269,7 +269,7 @@ PassRefPtrWillBeRawPtr<AnimationEffect> EffectInput::convert(Element* element, c |
} |
} |
- RefPtrWillBeRawPtr<StringKeyframeEffectModel> keyframeEffectModel = StringKeyframeEffectModel::create(keyframes); |
+ StringKeyframeEffectModel* keyframeEffectModel = StringKeyframeEffectModel::create(keyframes); |
if (keyframeEffectModel->hasSyntheticKeyframes()) { |
exceptionState.throwDOMException(NotSupportedError, "Partial keyframes are not supported."); |
return nullptr; |
@@ -283,7 +283,7 @@ PassRefPtrWillBeRawPtr<AnimationEffect> EffectInput::convert(Element* element, c |
return keyframeEffectModel; |
} |
-PassRefPtrWillBeRawPtr<AnimationEffect> EffectInput::convert(Element* element, const AnimationEffectOrDictionarySequence& effectInput, ExceptionState& exceptionState) |
+AnimationEffect* EffectInput::convert(Element* element, const AnimationEffectOrDictionarySequence& effectInput, ExceptionState& exceptionState) |
{ |
if (effectInput.isAnimationEffect()) |
return effectInput.getAsAnimationEffect(); |