Index: third_party/WebKit/Source/core/animation/StringKeyframe.cpp |
diff --git a/third_party/WebKit/Source/core/animation/StringKeyframe.cpp b/third_party/WebKit/Source/core/animation/StringKeyframe.cpp |
index fca4d6c4c05121b64080320fee16a577ef340c9a..40d1c78cbfce8aabb73bc6272c8faac3fd7a9e92 100644 |
--- a/third_party/WebKit/Source/core/animation/StringKeyframe.cpp |
+++ b/third_party/WebKit/Source/core/animation/StringKeyframe.cpp |
@@ -13,6 +13,7 @@ |
#include "core/animation/InvalidatableInterpolation.h" |
#include "core/animation/LegacyStyleInterpolation.h" |
#include "core/animation/LengthBoxStyleInterpolation.h" |
+#include "core/animation/LengthPairStyleInterpolation.h" |
#include "core/animation/LengthStyleInterpolation.h" |
#include "core/animation/ListStyleInterpolation.h" |
#include "core/animation/PropertyInterpolationTypesMapping.h" |
@@ -174,6 +175,14 @@ |
break; |
+ case CSSPropertyBorderBottomLeftRadius: |
+ case CSSPropertyBorderBottomRightRadius: |
+ case CSSPropertyBorderTopLeftRadius: |
+ case CSSPropertyBorderTopRightRadius: |
+ if (LengthPairStyleInterpolation::canCreateFrom(*fromCSSValue) && LengthPairStyleInterpolation::canCreateFrom(*toCSSValue)) |
+ return LengthPairStyleInterpolation::create(*fromCSSValue, *toCSSValue, property, RangeNonNegative); |
+ break; |
+ |
case CSSPropertyTransformOrigin: { |
RefPtr<Interpolation> interpolation = ListStyleInterpolation<LengthStyleInterpolation>::maybeCreateFromList(*fromCSSValue, *toCSSValue, property, range); |
if (interpolation) |