Index: Source/core/svg/SVGAnimatorFactory.h |
diff --git a/Source/core/svg/SVGAnimatorFactory.h b/Source/core/svg/SVGAnimatorFactory.h |
index 5a04cda8156ae7de8262bd510243e54a76718e77..599527d12b47c0cd79fd76b54906095e23c1935f 100644 |
--- a/Source/core/svg/SVGAnimatorFactory.h |
+++ b/Source/core/svg/SVGAnimatorFactory.h |
@@ -63,10 +63,6 @@ public: |
return adoptPtr(new SVGAnimatedIntegerAnimator(animationElement, contextElement)); |
case AnimatedIntegerOptionalInteger: |
return adoptPtr(new SVGAnimatedIntegerOptionalIntegerAnimator(animationElement, contextElement)); |
- case AnimatedLength: |
- return adoptPtr(new SVGAnimatedLengthAnimator(animationElement, contextElement)); |
- case AnimatedLengthList: |
- return adoptPtr(new SVGAnimatedLengthListAnimator(animationElement, contextElement)); |
case AnimatedNumber: |
return adoptPtr(new SVGAnimatedNumberAnimator(animationElement, contextElement)); |
case AnimatedNumberList: |
@@ -85,8 +81,11 @@ public: |
return adoptPtr(new SVGAnimatedStringAnimator(animationElement, contextElement)); |
case AnimatedTransformList: |
return adoptPtr(new SVGAnimatedTransformListAnimator(animationElement, contextElement)); |
+ // Below properties are migrated to new property implementation. |
+ case AnimatedLength: |
+ case AnimatedLengthList: |
case AnimatedNewProperty: |
- return adoptPtr(new SVGAnimatedNewPropertyAnimator(animationElement, contextElement)); |
+ return adoptPtr(new SVGAnimatedNewPropertyAnimator(animationElement, contextElement, attributeType)); |
case AnimatedUnknown: |
break; |
} |