diff options
Diffstat (limited to 'WebCore/svg/SVGMetadataElement.cpp')
-rw-r--r-- | WebCore/svg/SVGMetadataElement.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/WebCore/svg/SVGMetadataElement.cpp b/WebCore/svg/SVGMetadataElement.cpp index 28a34d6..6db3806 100644 --- a/WebCore/svg/SVGMetadataElement.cpp +++ b/WebCore/svg/SVGMetadataElement.cpp @@ -22,15 +22,18 @@ #if ENABLE(SVG) #include "SVGMetadataElement.h" -using namespace WebCore; +namespace WebCore { -SVGMetadataElement::SVGMetadataElement(const QualifiedName& tagName, Document *doc) -: SVGElement(tagName, doc) +inline SVGMetadataElement::SVGMetadataElement(const QualifiedName& tagName, Document* document) + : SVGElement(tagName, document) { } -SVGMetadataElement::~SVGMetadataElement() +PassRefPtr<SVGMetadataElement> SVGMetadataElement::create(const QualifiedName& tagName, Document* document) { + return adoptRef(new SVGMetadataElement(tagName, document)); +} + } #endif // ENABLE(SVG) |