| Index: sky/engine/core/animation/Animation.cpp
|
| diff --git a/sky/engine/core/animation/Animation.cpp b/sky/engine/core/animation/Animation.cpp
|
| index 92be0671864e0499985c271cf987e7c20a2480e2..c6a09046a90b17ab408d7c4dddb3cbb39a5c558c 100644
|
| --- a/sky/engine/core/animation/Animation.cpp
|
| +++ b/sky/engine/core/animation/Animation.cpp
|
| @@ -40,7 +40,6 @@
|
| #include "sky/engine/core/animation/Interpolation.h"
|
| #include "sky/engine/core/animation/KeyframeEffectModel.h"
|
| #include "sky/engine/core/dom/Element.h"
|
| -#include "sky/engine/core/frame/UseCounter.h"
|
| #include "sky/engine/core/rendering/RenderLayer.h"
|
|
|
| namespace blink {
|
| @@ -64,20 +63,14 @@ PassRefPtr<Animation> Animation::create(Element* element, PassRefPtr<AnimationEf
|
| }
|
| PassRefPtr<Animation> Animation::create(Element* element, const Vector<Dictionary>& keyframeDictionaryVector, const Dictionary& timingInputDictionary, ExceptionState& exceptionState)
|
| {
|
| - if (element)
|
| - UseCounter::count(element->document(), UseCounter::AnimationConstructorKeyframeListEffectObjectTiming);
|
| return create(element, EffectInput::convert(element, keyframeDictionaryVector, exceptionState), TimingInput::convert(timingInputDictionary));
|
| }
|
| PassRefPtr<Animation> Animation::create(Element* element, const Vector<Dictionary>& keyframeDictionaryVector, double duration, ExceptionState& exceptionState)
|
| {
|
| - if (element)
|
| - UseCounter::count(element->document(), UseCounter::AnimationConstructorKeyframeListEffectDoubleTiming);
|
| return create(element, EffectInput::convert(element, keyframeDictionaryVector, exceptionState), TimingInput::convert(duration));
|
| }
|
| PassRefPtr<Animation> Animation::create(Element* element, const Vector<Dictionary>& keyframeDictionaryVector, ExceptionState& exceptionState)
|
| {
|
| - if (element)
|
| - UseCounter::count(element->document(), UseCounter::AnimationConstructorKeyframeListEffectNoTiming);
|
| return create(element, EffectInput::convert(element, keyframeDictionaryVector, exceptionState), Timing());
|
| }
|
|
|
|
|