summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGMarkerElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGMarkerElement.h')
-rw-r--r--WebCore/svg/SVGMarkerElement.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/WebCore/svg/SVGMarkerElement.h b/WebCore/svg/SVGMarkerElement.h
index 436aaa7..7782739 100644
--- a/WebCore/svg/SVGMarkerElement.h
+++ b/WebCore/svg/SVGMarkerElement.h
@@ -53,16 +53,18 @@ public:
SVG_MARKER_ORIENT_ANGLE = 2
};
- SVGMarkerElement(const QualifiedName&, Document*);
- virtual ~SVGMarkerElement();
-
- virtual bool needsPendingResourceHandling() const { return false; }
+ static PassRefPtr<SVGMarkerElement> create(const QualifiedName&, Document*);
AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) const;
void setOrientToAuto();
void setOrientToAngle(const SVGAngle&);
+private:
+ SVGMarkerElement(const QualifiedName&, Document*);
+
+ virtual bool needsPendingResourceHandling() const { return false; }
+
virtual void parseMappedAttribute(Attribute*);
virtual void svgAttributeChanged(const QualifiedName&);
virtual void synchronizeProperty(const QualifiedName&);
@@ -70,7 +72,6 @@ public:
virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
-private:
virtual bool selfHasRelativeLengths() const;
DECLARE_ANIMATED_PROPERTY(SVGMarkerElement, SVGNames::refXAttr, SVGLength, RefX, refX)