Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1893)

Unified Diff: Source/core/svg/SVGAnimatorFactory.h

Issue 112003003: [SVG] SVGLength{,List} migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: revert aggressive svgAttributeChanged, add NeedsRebaseline Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGAnimatedType.cpp ('k') | Source/core/svg/SVGCircleElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAnimatorFactory.h
diff --git a/Source/core/svg/SVGAnimatorFactory.h b/Source/core/svg/SVGAnimatorFactory.h
index d556df9afbbadba067700bcd4436a05c45847393..f7f70a7ec196a43ab07f6721ec5dce41f33046e0 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,6 +81,10 @@ public:
return adoptPtr(new SVGAnimatedStringAnimator(animationElement, contextElement));
case AnimatedTransformList:
return adoptPtr(new SVGAnimatedTransformListAnimator(animationElement, contextElement));
+ // Below properties have migrated to new property implementation.
+ case AnimatedLength:
+ case AnimatedLengthList:
+ return adoptPtr(new SVGAnimatedNewPropertyAnimator(attributeType, animationElement, contextElement));
case AnimatedUnknown:
break;
}
« no previous file with comments | « Source/core/svg/SVGAnimatedType.cpp ('k') | Source/core/svg/SVGCircleElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698