Chromium Code Reviews| Index: Source/core/animation/StringKeyframe.cpp |
| diff --git a/Source/core/animation/StringKeyframe.cpp b/Source/core/animation/StringKeyframe.cpp |
| index 71ae40ad7a98b392ce95e40097d7a1073ac4c83e..a614eb6fd9ce1d2956da76e4f135a900b0cf66bd 100644 |
| --- a/Source/core/animation/StringKeyframe.cpp |
| +++ b/Source/core/animation/StringKeyframe.cpp |
| @@ -246,12 +246,9 @@ PassRefPtrWillBeRawPtr<Interpolation> StringKeyframe::PropertySpecificKeyframe:: |
| fallBackToLegacy = true; |
| break; |
| + |
| } |
| - case CSSPropertyWebkitMaskBoxImageSlice: |
| - if (LengthBoxStyleInterpolation::matchingFill(*toCSSValue, *fromCSSValue) && LengthBoxStyleInterpolation::canCreateFrom(*fromCSSValue) && LengthStyleInterpolation::canCreateFrom(*toCSSValue)) |
| - return LengthBoxStyleInterpolation::createFromBorderImageSlice(*fromCSSValue, *toCSSValue, property); |
| - break; |
| case CSSPropertyTransform: { |
| if (TransformStyleInterpolation::fallBackToLegacy(*fromCSSValue, *toCSSValue)) { |
| // FIXME: Handle matrices and interpolating to/from CSSValueNone from/to CSSValueList |
| @@ -264,6 +261,16 @@ PassRefPtrWillBeRawPtr<Interpolation> StringKeyframe::PropertySpecificKeyframe:: |
| break; |
| } |
| + |
| + case CSSPropertyClip: |
| + case CSSPropertyBorderImageSlice: |
| + case CSSPropertyWebkitMaskBoxImageSlice: |
| + { |
|
Eric Willigers
2015/02/11 03:56:32
Move brace to end of previous line.
jadeg
2015/02/12 05:06:00
Done.
|
| + RefPtrWillBeRawPtr<Interpolation> interpolation = LengthBoxStyleInterpolation::maybeCreateFrom(fromCSSValue, toCSSValue, property); |
| + if (interpolation) |
| + return interpolation.release(); |
| + break; |
| + } |
|
Eric Willigers
2015/02/11 03:56:32
This brace and the preceding lines can be unindent
jadeg
2015/02/12 05:06:00
Done.
|
| case CSSPropertyStrokeWidth: |
| range = RangeNonNegative; |
| // Fall through |