Index: Source/core/svg/SVGAnimatedTypeAnimator.cpp |
diff --git a/Source/core/svg/SVGAnimatedTypeAnimator.cpp b/Source/core/svg/SVGAnimatedTypeAnimator.cpp |
index 087699a8abf35b7df0b1d441e61eae70e6252768..b86e006a25369048569ad227dc1464bc9e772c20 100644 |
--- a/Source/core/svg/SVGAnimatedTypeAnimator.cpp |
+++ b/Source/core/svg/SVGAnimatedTypeAnimator.cpp |
@@ -30,6 +30,7 @@ |
#include "core/svg/SVGLengthList.h" |
#include "core/svg/SVGNumber.h" |
#include "core/svg/SVGPointList.h" |
+#include "core/svg/SVGRect.h" |
#include "core/svg/SVGString.h" |
#include "core/svg/SVGTransformList.h" |
@@ -103,6 +104,11 @@ PassRefPtr<SVGPropertyBase> SVGAnimatedTypeAnimator::createPropertyForAnimation( |
property->setValueAsString(value, IGNORE_EXCEPTION); |
return property.release(); |
} |
+ case AnimatedRect: { |
+ RefPtr<SVGRect> property = SVGRect::create(); |
+ property->setValueAsString(value, IGNORE_EXCEPTION); |
+ return property.release(); |
+ } |
case AnimatedString: { |
RefPtr<SVGString> property = SVGString::create(); |
property->setValueAsString(value, IGNORE_EXCEPTION); |
@@ -121,7 +127,6 @@ PassRefPtr<SVGPropertyBase> SVGAnimatedTypeAnimator::createPropertyForAnimation( |
case AnimatedPoint: |
case AnimatedPoints: |
case AnimatedPreserveAspectRatio: |
- case AnimatedRect: |
case AnimatedStringList: |
case AnimatedTransform: |
case AnimatedTransformList: |