summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGGlyphElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGGlyphElement.cpp')
-rw-r--r--WebCore/svg/SVGGlyphElement.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/WebCore/svg/SVGGlyphElement.cpp b/WebCore/svg/SVGGlyphElement.cpp
index 2c84841..8ded0fc 100644
--- a/WebCore/svg/SVGGlyphElement.cpp
+++ b/WebCore/svg/SVGGlyphElement.cpp
@@ -37,13 +37,14 @@ namespace WebCore {
using namespace SVGNames;
-SVGGlyphElement::SVGGlyphElement(const QualifiedName& tagName, Document* doc)
- : SVGStyledElement(tagName, doc)
+inline SVGGlyphElement::SVGGlyphElement(const QualifiedName& tagName, Document* document)
+ : SVGStyledElement(tagName, document)
{
}
-SVGGlyphElement::~SVGGlyphElement()
+PassRefPtr<SVGGlyphElement> SVGGlyphElement::create(const QualifiedName& tagName, Document* document)
{
+ return adoptRef(new SVGGlyphElement(tagName, document));
}
void SVGGlyphElement::invalidateGlyphCache()