summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGAnimatedLengthList.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGAnimatedLengthList.h')
-rw-r--r--WebCore/svg/SVGAnimatedLengthList.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/WebCore/svg/SVGAnimatedLengthList.h b/WebCore/svg/SVGAnimatedLengthList.h
index fcd8197..a0217fa 100644
--- a/WebCore/svg/SVGAnimatedLengthList.h
+++ b/WebCore/svg/SVGAnimatedLengthList.h
@@ -28,6 +28,13 @@ namespace WebCore {
typedef SVGAnimatedListPropertyTearOff<SVGLengthList> SVGAnimatedLengthList;
+// Helper macros to declare/define a SVGAnimatedLengthList object
+#define DECLARE_ANIMATED_LENGTH_LIST(UpperProperty, LowerProperty) \
+DECLARE_ANIMATED_LIST_PROPERTY(SVGAnimatedLengthList, SVGLengthList, UpperProperty, LowerProperty)
+
+#define DEFINE_ANIMATED_LENGTH_LIST(OwnerType, DOMAttribute, UpperProperty, LowerProperty) \
+DEFINE_ANIMATED_LIST_PROPERTY(OwnerType, DOMAttribute, DOMAttribute.localName(), SVGAnimatedLengthList, SVGLengthList, UpperProperty, LowerProperty)
+
} // namespace WebCore
#endif // ENABLE(SVG)