summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGPathElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGPathElement.h')
-rw-r--r--WebCore/svg/SVGPathElement.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/WebCore/svg/SVGPathElement.h b/WebCore/svg/SVGPathElement.h
index ffdd32e..0590dea 100644
--- a/WebCore/svg/SVGPathElement.h
+++ b/WebCore/svg/SVGPathElement.h
@@ -22,8 +22,8 @@
#define SVGPathElement_h
#if ENABLE(SVG)
-#include "SVGAnimatedNumber.h"
#include "SVGAnimatedPathSegListPropertyTearOff.h"
+#include "SVGAnimatedPropertyMacros.h"
#include "SVGExternalResourcesRequired.h"
#include "SVGLangSpace.h"
#include "SVGPathByteStream.h"
@@ -105,8 +105,7 @@ private:
virtual void svgAttributeChanged(const QualifiedName&);
virtual bool supportsMarkers() const { return true; }
- // Animated property declarations
- DECLARE_ANIMATED_NUMBER(PathLength, pathLength)
+ DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGPathElement, SVGNames::pathLengthAttr, float, PathLength, pathLength)
// SVGExternalResourcesRequired
DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGPathElement, SVGNames::externalResourcesRequiredAttr, bool, ExternalResourcesRequired, externalResourcesRequired)