summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGPointList.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGPointList.h')
-rw-r--r--WebCore/svg/SVGPointList.h22
1 files changed, 10 insertions, 12 deletions
diff --git a/WebCore/svg/SVGPointList.h b/WebCore/svg/SVGPointList.h
index 43edbbb..9f2efc9 100644
--- a/WebCore/svg/SVGPointList.h
+++ b/WebCore/svg/SVGPointList.h
@@ -22,24 +22,22 @@
#define SVGPointList_h
#if ENABLE(SVG)
-#include "SVGList.h"
-#include "FloatPoint.h"
-#include <wtf/Forward.h>
-#include <wtf/PassRefPtr.h>
+#include "QualifiedName.h"
+#include <wtf/Vector.h>
+#include <wtf/text/WTFString.h>
namespace WebCore {
- class SVGPointList : public SVGPODList<FloatPoint> {
- public:
- static PassRefPtr<SVGPointList> create(const QualifiedName& attributeName) { return adoptRef(new SVGPointList(attributeName)); }
+class FloatPoint;
- String valueAsString() const;
+class SVGPointList : public Vector<FloatPoint> {
+public:
+ SVGPointList() { }
- static PassRefPtr<SVGPointList> createAnimated(const SVGPointList* fromList, const SVGPointList* toList, float progress);
+ String valueAsString() const;
- private:
- SVGPointList(const QualifiedName&);
- };
+ static bool createAnimated(const SVGPointList& fromList, const SVGPointList& toList, SVGPointList& resultList, float progress);
+};
} // namespace WebCore