| Index: Source/core/animation/EffectInput.cpp
|
| diff --git a/Source/core/animation/EffectInput.cpp b/Source/core/animation/EffectInput.cpp
|
| index ed925e3a4164f7b7eed8e091ecc235b5b6478cb8..8c5cb3f4085cb56267f62a089b600d3f838d8d40 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<EffectModel> EffectInput::convert(Element* element, const Vector<Dictionary>& keyframeDictionaryVector, ExceptionState& exceptionState)
|
| +EffectModel* EffectInput::convert(Element* element, const Vector<Dictionary>& keyframeDictionaryVector, ExceptionState& exceptionState)
|
| {
|
| // FIXME: Remove the dependency on element.
|
| if (!element)
|
| @@ -200,7 +200,7 @@ PassRefPtrWillBeRawPtr<EffectModel> EffectInput::convert(Element* element, const
|
| 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<EffectModel> EffectInput::convert(Element* element, const
|
| }
|
| }
|
|
|
| - 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<EffectModel> EffectInput::convert(Element* element, const
|
| return keyframeEffectModel;
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<EffectModel> EffectInput::convert(Element* element, const EffectModelOrDictionarySequence& effectInput, ExceptionState& exceptionState)
|
| +EffectModel* EffectInput::convert(Element* element, const EffectModelOrDictionarySequence& effectInput, ExceptionState& exceptionState)
|
| {
|
| if (effectInput.isEffectModel())
|
| return effectInput.getAsEffectModel();
|
|
|