diff options
Diffstat (limited to 'WebCore/svg/SVGPointList.h')
-rw-r--r-- | WebCore/svg/SVGPointList.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/WebCore/svg/SVGPointList.h b/WebCore/svg/SVGPointList.h index 9f2efc9..4918936 100644 --- a/WebCore/svg/SVGPointList.h +++ b/WebCore/svg/SVGPointList.h @@ -23,8 +23,8 @@ #if ENABLE(SVG) #include "QualifiedName.h" +#include "SVGPropertyTraits.h" #include <wtf/Vector.h> -#include <wtf/text/WTFString.h> namespace WebCore { @@ -39,6 +39,12 @@ public: static bool createAnimated(const SVGPointList& fromList, const SVGPointList& toList, SVGPointList& resultList, float progress); }; +template<> +struct SVGPropertyTraits<SVGPointList> { + static SVGPointList initialValue() { return SVGPointList(); } + typedef FloatPoint ListItemType; +}; + } // namespace WebCore #endif // ENABLE(SVG) |