diff options
Diffstat (limited to 'Source/WebCore/svg/SVGMetadataElement.cpp')
-rw-r--r-- | Source/WebCore/svg/SVGMetadataElement.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/WebCore/svg/SVGMetadataElement.cpp b/Source/WebCore/svg/SVGMetadataElement.cpp index 7cb2a56ee..4272869e4 100644 --- a/Source/WebCore/svg/SVGMetadataElement.cpp +++ b/Source/WebCore/svg/SVGMetadataElement.cpp @@ -19,8 +19,8 @@ */ #include "config.h" -#if ENABLE(SVG) #include "SVGMetadataElement.h" + #include "SVGNames.h" namespace WebCore { @@ -31,11 +31,9 @@ inline SVGMetadataElement::SVGMetadataElement(const QualifiedName& tagName, Docu ASSERT(hasTagName(SVGNames::metadataTag)); } -PassRefPtr<SVGMetadataElement> SVGMetadataElement::create(const QualifiedName& tagName, Document& document) +Ref<SVGMetadataElement> SVGMetadataElement::create(const QualifiedName& tagName, Document& document) { - return adoptRef(new SVGMetadataElement(tagName, document)); + return adoptRef(*new SVGMetadataElement(tagName, document)); } } - -#endif // ENABLE(SVG) |