summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGTransformList.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGTransformList.h')
-rw-r--r--WebCore/svg/SVGTransformList.h27
1 files changed, 11 insertions, 16 deletions
diff --git a/WebCore/svg/SVGTransformList.h b/WebCore/svg/SVGTransformList.h
index 5bb5e85..e071355 100644
--- a/WebCore/svg/SVGTransformList.h
+++ b/WebCore/svg/SVGTransformList.h
@@ -22,29 +22,24 @@
#define SVGTransformList_h
#if ENABLE(SVG)
-#include "SVGList.h"
#include "SVGTransform.h"
-#include <wtf/Forward.h>
-#include <wtf/PassRefPtr.h>
+#include <wtf/Vector.h>
+#include <wtf/text/WTFString.h>
namespace WebCore {
- class SVGTransformList : public SVGPODList<SVGTransform> {
- public:
- static PassRefPtr<SVGTransformList> create(const QualifiedName& attributeName) { return adoptRef(new SVGTransformList(attributeName)); }
- virtual ~SVGTransformList();
+class SVGTransformList : public Vector<SVGTransform> {
+public:
+ SVGTransformList() { }
- SVGTransform createSVGTransformFromMatrix(const AffineTransform&) const;
- SVGTransform consolidate();
+ SVGTransform createSVGTransformFromMatrix(const SVGMatrix&) const;
+ SVGTransform consolidate();
- // Internal use only
- SVGTransform concatenate() const;
+ // Internal use only
+ bool concatenate(AffineTransform& result) const;
- String valueAsString() const;
-
- private:
- SVGTransformList(const QualifiedName&);
- };
+ String valueAsString() const;
+};
} // namespace WebCore