| Index: sky/engine/core/animation/DeferredLegacyStyleInterpolation.cpp
|
| diff --git a/sky/engine/core/animation/DeferredLegacyStyleInterpolation.cpp b/sky/engine/core/animation/DeferredLegacyStyleInterpolation.cpp
|
| index a2ef3e86ea0bf9afc13b522cb09511ce04ca79bf..0c00b6f5e99b216eb41deeffa8c8f6fa1f5894bf 100644
|
| --- a/sky/engine/core/animation/DeferredLegacyStyleInterpolation.cpp
|
| +++ b/sky/engine/core/animation/DeferredLegacyStyleInterpolation.cpp
|
| @@ -5,7 +5,6 @@
|
| #include "sky/engine/core/animation/DeferredLegacyStyleInterpolation.h"
|
|
|
| #include "sky/engine/core/animation/LegacyStyleInterpolation.h"
|
| -#include "sky/engine/core/css/CSSImageValue.h"
|
| #include "sky/engine/core/css/CSSPrimitiveValue.h"
|
| #include "sky/engine/core/css/CSSShadowValue.h"
|
| #include "sky/engine/core/css/CSSValueList.h"
|
| @@ -36,8 +35,6 @@ bool DeferredLegacyStyleInterpolation::interpolationRequiresStyleResolve(const C
|
| case CSSValue::CSS_VALUE_LIST:
|
| return interpolationRequiresStyleResolve(toCSSValueList(value));
|
| case CSSValue::CSS_CUSTOM:
|
| - if (value.isImageValue())
|
| - return interpolationRequiresStyleResolve(toCSSImageValue(value));
|
| if (value.isShadowValue())
|
| return interpolationRequiresStyleResolve(toCSSShadowValue(value));
|
| // FIXME: consider other custom types.
|
| @@ -97,11 +94,6 @@ bool DeferredLegacyStyleInterpolation::interpolationRequiresStyleResolve(const C
|
| return (primitiveValue.getValueID() != CSSValueNone);
|
| }
|
|
|
| -bool DeferredLegacyStyleInterpolation::interpolationRequiresStyleResolve(const CSSImageValue& imageValue)
|
| -{
|
| - return false;
|
| -}
|
| -
|
| bool DeferredLegacyStyleInterpolation::interpolationRequiresStyleResolve(const CSSShadowValue& shadowValue)
|
| {
|
| return (shadowValue.x && interpolationRequiresStyleResolve(*shadowValue.x))
|
|
|