Index: Source/core/animation/StringKeyframe.cpp |
diff --git a/Source/core/animation/StringKeyframe.cpp b/Source/core/animation/StringKeyframe.cpp |
index e221446e49a781e8b2488999c9dd5aaf2926d325..772e5f9a84c6e558555196b838468caa2b99bc4f 100644 |
--- a/Source/core/animation/StringKeyframe.cpp |
+++ b/Source/core/animation/StringKeyframe.cpp |
@@ -188,6 +188,7 @@ PassRefPtrWillBeRawPtr<Interpolation> StringKeyframe::PropertySpecificKeyframe:: |
case CSSPropertyMarginTop: |
case CSSPropertyOutlineOffset: |
case CSSPropertyRight: |
+ case CSSPropertyStrokeDashoffset: |
case CSSPropertyTop: |
case CSSPropertyVerticalAlign: |
case CSSPropertyWordSpacing: |
@@ -332,11 +333,8 @@ PassRefPtrWillBeRawPtr<Interpolation> StringKeyframe::PropertySpecificKeyframe:: |
break; |
} |
- case CSSPropertyStrokeWidth: |
- range = RangeNonNegative; |
- // Fall through |
- case CSSPropertyStrokeDashoffset: { |
- RefPtrWillBeRawPtr<Interpolation> interpolation = SVGLengthStyleInterpolation::maybeCreate(*fromCSSValue, *toCSSValue, property, range); |
+ case CSSPropertyStrokeWidth: { |
+ RefPtrWillBeRawPtr<Interpolation> interpolation = SVGLengthStyleInterpolation::maybeCreate(*fromCSSValue, *toCSSValue, property, RangeNonNegative); |
if (interpolation) |
return interpolation.release(); |