| 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 10d3bb3c3fc0f1c938a52093d048a2c34c59b64b..6801cb60c2a7f5d9d2fd5faa9c0c8ac973dfb8a3 100644
|
| --- a/third_party/WebKit/Source/core/animation/StringKeyframe.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/StringKeyframe.cpp
|
| @@ -37,9 +37,9 @@
|
| #include "core/animation/NumberSVGInterpolation.h"
|
| #include "core/animation/PathSVGInterpolation.h"
|
| #include "core/animation/PointSVGInterpolation.h"
|
| -#include "core/animation/RectSVGInterpolation.h"
|
| #include "core/animation/SVGAngleInterpolationType.h"
|
| #include "core/animation/SVGNumberInterpolationType.h"
|
| +#include "core/animation/SVGRectInterpolationType.h"
|
| #include "core/animation/SVGStrokeDasharrayStyleInterpolation.h"
|
| #include "core/animation/SVGValueInterpolationType.h"
|
| #include "core/animation/TransformSVGInterpolation.h"
|
| @@ -322,6 +322,8 @@ const Vector<const InterpolationType*>* applicableTypesForProperty(PropertyHandl
|
| applicableTypes->append(new SVGValueInterpolationType(attribute));
|
| } else if (attribute == SVGNames::orientAttr) {
|
| applicableTypes->append(new SVGAngleInterpolationType(attribute));
|
| + } else if (attribute == SVGNames::viewBoxAttr) {
|
| + applicableTypes->append(new SVGRectInterpolationType(attribute));
|
| } else {
|
| fallbackToLegacy = true;
|
| }
|
| @@ -580,14 +582,13 @@ PassRefPtr<Interpolation> createSVGInterpolation(SVGPropertyBase* fromValue, SVG
|
| case AnimatedPoints:
|
| interpolation = ListSVGInterpolation<PointSVGInterpolation>::maybeCreate(fromValue, toValue, attribute);
|
| break;
|
| - case AnimatedRect:
|
| - return RectSVGInterpolation::create(fromValue, toValue, attribute);
|
| case AnimatedTransformList:
|
| interpolation = ListSVGInterpolation<TransformSVGInterpolation>::maybeCreate(fromValue, toValue, attribute);
|
| break;
|
|
|
| // Handled by SVGInterpolationTypes.
|
| case AnimatedAngle:
|
| + case AnimatedRect:
|
| case AnimatedNumber:
|
| ASSERT_NOT_REACHED();
|
| // Fallthrough.
|
|
|