summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGAltGlyphElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGAltGlyphElement.h')
-rw-r--r--WebCore/svg/SVGAltGlyphElement.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/WebCore/svg/SVGAltGlyphElement.h b/WebCore/svg/SVGAltGlyphElement.h
index cc5364b..ae0903a 100644
--- a/WebCore/svg/SVGAltGlyphElement.h
+++ b/WebCore/svg/SVGAltGlyphElement.h
@@ -34,13 +34,7 @@ namespace WebCore {
class SVGAltGlyphElement : public SVGTextPositioningElement,
public SVGURIReference {
public:
- SVGAltGlyphElement(const QualifiedName&, Document*);
- virtual ~SVGAltGlyphElement();
-
- virtual void synchronizeProperty(const QualifiedName&);
-
- virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
- bool childShouldCreateRenderer(Node*) const;
+ static PassRefPtr<SVGAltGlyphElement> create(const QualifiedName&, Document*);
const AtomicString& glyphRef() const;
void setGlyphRef(const AtomicString&, ExceptionCode&);
@@ -49,7 +43,14 @@ namespace WebCore {
SVGGlyphElement* glyphElement() const;
- private:
+ private:
+ SVGAltGlyphElement(const QualifiedName&, Document*);
+
+ virtual void synchronizeProperty(const QualifiedName&);
+
+ virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
+ virtual bool childShouldCreateRenderer(Node*) const;
+
// SVGURIReference
DECLARE_ANIMATED_PROPERTY(SVGAltGlyphElement, XLinkNames::hrefAttr, String, Href, href)
};