diff options
Diffstat (limited to 'WebCore/svg/SVGGlyphElement.h')
-rw-r--r-- | WebCore/svg/SVGGlyphElement.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/WebCore/svg/SVGGlyphElement.h b/WebCore/svg/SVGGlyphElement.h index 5b5408d..a7dd570 100644 --- a/WebCore/svg/SVGGlyphElement.h +++ b/WebCore/svg/SVGGlyphElement.h @@ -103,15 +103,7 @@ namespace WebCore { class SVGGlyphElement : public SVGStyledElement { public: - SVGGlyphElement(const QualifiedName&, Document*); - virtual ~SVGGlyphElement(); - - virtual void parseMappedAttribute(Attribute*); - - virtual void insertedIntoDocument(); - virtual void removedFromDocument(); - - virtual bool rendererIsNeeded(RenderStyle*) { return false; } + static PassRefPtr<SVGGlyphElement> create(const QualifiedName&, Document*); SVGGlyphIdentifier buildGlyphIdentifier() const; @@ -121,7 +113,17 @@ namespace WebCore { // Helper function shared between SVGGlyphElement & SVGMissingGlyphElement static SVGGlyphIdentifier buildGenericGlyphIdentifier(const SVGElement*); + private: + SVGGlyphElement(const QualifiedName&, Document*); + + virtual void parseMappedAttribute(Attribute*); + + virtual void insertedIntoDocument(); + virtual void removedFromDocument(); + + virtual bool rendererIsNeeded(RenderStyle*) { return false; } + void invalidateGlyphCache(); }; |