Index: Source/core/animation/StringKeyframe.cpp |
diff --git a/Source/core/animation/StringKeyframe.cpp b/Source/core/animation/StringKeyframe.cpp |
index 113b9819d0506588f1e332c38a5d31576013572e..3e50c7e1de82937415461d5d0c29ba334c0152be 100644 |
--- a/Source/core/animation/StringKeyframe.cpp |
+++ b/Source/core/animation/StringKeyframe.cpp |
@@ -16,7 +16,6 @@ |
#include "core/animation/LengthPairStyleInterpolation.h" |
#include "core/animation/LengthStyleInterpolation.h" |
#include "core/animation/ListStyleInterpolation.h" |
-#include "core/animation/SVGLengthStyleInterpolation.h" |
#include "core/animation/SVGStrokeDasharrayStyleInterpolation.h" |
#include "core/animation/ShadowStyleInterpolation.h" |
#include "core/animation/VisibilityStyleInterpolation.h" |
@@ -172,6 +171,7 @@ PassRefPtrWillBeRawPtr<Interpolation> StringKeyframe::PropertySpecificKeyframe:: |
case CSSPropertyPaddingTop: |
case CSSPropertyPerspective: |
case CSSPropertyShapeMargin: |
+ case CSSPropertyStrokeWidth: |
case CSSPropertyWebkitBorderHorizontalSpacing: |
case CSSPropertyWebkitBorderVerticalSpacing: |
case CSSPropertyWebkitColumnGap: |
@@ -331,13 +331,6 @@ PassRefPtrWillBeRawPtr<Interpolation> StringKeyframe::PropertySpecificKeyframe:: |
break; |
} |
- case CSSPropertyStrokeWidth: { |
- RefPtrWillBeRawPtr<Interpolation> interpolation = SVGLengthStyleInterpolation::maybeCreate(*fromCSSValue, *toCSSValue, property, RangeNonNegative); |
- if (interpolation) |
- return interpolation.release(); |
- |
- break; |
- } |
case CSSPropertyStrokeDasharray: { |
RefPtrWillBeRawPtr<Interpolation> interpolation = SVGStrokeDasharrayStyleInterpolation::maybeCreate(*fromCSSValue, *toCSSValue, property); |
if (interpolation) |
@@ -345,6 +338,7 @@ PassRefPtrWillBeRawPtr<Interpolation> StringKeyframe::PropertySpecificKeyframe:: |
break; |
} |
+ |
default: |
// Fall back to LegacyStyleInterpolation. |
fallBackToLegacy = true; |