| Index: Source/core/animation/Animation.cpp
|
| diff --git a/Source/core/animation/Animation.cpp b/Source/core/animation/Animation.cpp
|
| index f77e9f63c8fd9f64bb8adc920520b279b3f28b65..3ca19aab256bf23eff2fc88b3aefab902ea548f4 100644
|
| --- a/Source/core/animation/Animation.cpp
|
| +++ b/Source/core/animation/Animation.cpp
|
| @@ -85,18 +85,6 @@ PassRefPtr<Animation> Animation::create(Element* element, Vector<Dictionary> key
|
| return createUnsafe(element, keyframeDictionaryVector, timingInput);
|
| }
|
|
|
| -PassRefPtr<Animation> Animation::create(Element* element, Vector<Dictionary> keyframeDictionaryVector)
|
| -{
|
| - ASSERT(RuntimeEnabledFeatures::webAnimationsAPIEnabled());
|
| -
|
| - // FIXME: This test will not be neccessary once resolution of keyframe values occurs at
|
| - // animation application time.
|
| - if (!checkDocumentAndRenderer(element))
|
| - return nullptr;
|
| -
|
| - return createUnsafe(element, keyframeDictionaryVector);
|
| -}
|
| -
|
| void Animation::setStartDelay(Timing& timing, double startDelay)
|
| {
|
| if (std::isfinite(startDelay))
|
| @@ -309,14 +297,6 @@ PassRefPtr<Animation> Animation::createUnsafe(Element* element, Vector<Dictionar
|
| return create(element, effect, timing);
|
| }
|
|
|
| -PassRefPtr<Animation> Animation::createUnsafe(Element* element, Vector<Dictionary> keyframeDictionaryVector)
|
| -{
|
| - RefPtrWillBeRawPtr<KeyframeEffectModel> effect = createKeyframeEffectModel(element, keyframeDictionaryVector);
|
| - Timing timing;
|
| -
|
| - return create(element, effect, timing);
|
| -}
|
| -
|
| Animation::Animation(PassRefPtr<Element> target, PassRefPtrWillBeRawPtr<AnimationEffect> effect, const Timing& timing, Priority priority, PassOwnPtr<EventDelegate> eventDelegate)
|
| : TimedItem(timing, eventDelegate)
|
| , m_target(target)
|
|
|