| Index: Source/core/animation/AnimatableValue.cpp
|
| diff --git a/Source/core/animation/AnimatableValue.cpp b/Source/core/animation/AnimatableValue.cpp
|
| index 63af8cbb00ccad50a959c8f3eca1568d40fdd4b8..25cce2d9a2dd97ec591d962175fae0cde6ebd2d7 100644
|
| --- a/Source/core/animation/AnimatableValue.cpp
|
| +++ b/Source/core/animation/AnimatableValue.cpp
|
| @@ -30,25 +30,12 @@
|
|
|
| #include "config.h"
|
| #include "core/animation/AnimatableValue.h"
|
| -
|
| #include "core/animation/AnimatableNeutral.h"
|
| -#include "core/animation/AnimatableNumber.h"
|
| -#include "core/animation/AnimatableUnknown.h"
|
| #include "core/animation/DeferredAnimatableValue.h"
|
| -
|
| #include <algorithm>
|
|
|
| namespace WebCore {
|
|
|
| -PassRefPtr<AnimatableValue> AnimatableValue::create(CSSValue* value)
|
| -{
|
| - // FIXME: Move this logic to a separate factory class.
|
| - // FIXME: Handle all animatable CSSValue types.
|
| - if (AnimatableNumber::canCreateFrom(value))
|
| - return AnimatableNumber::create(value);
|
| - return AnimatableUnknown::create(value);
|
| -}
|
| -
|
| const AnimatableValue* AnimatableValue::neutralValue()
|
| {
|
| static AnimatableNeutral* neutralSentinelValue = AnimatableNeutral::create().leakRef();
|
|
|