| Index: Source/core/animation/AnimatableValue.cpp
|
| diff --git a/Source/core/animation/AnimatableValue.cpp b/Source/core/animation/AnimatableValue.cpp
|
| index 763788093f624bd6cd513c236a73c9dcd4827904..b15bcd52a52f0516295dd0183ecd43316afd2593 100644
|
| --- a/Source/core/animation/AnimatableValue.cpp
|
| +++ b/Source/core/animation/AnimatableValue.cpp
|
| @@ -32,22 +32,11 @@
|
| #include "core/animation/AnimatableValue.h"
|
|
|
| #include "core/animation/AnimatableNeutral.h"
|
| -#include "core/animation/AnimatableNumber.h"
|
| -#include "core/animation/AnimatableUnknown.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();
|
|
|