From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/svg/SVGMetadataElement.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Source/WebCore/svg/SVGMetadataElement.cpp') 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::create(const QualifiedName& tagName, Document& document) +Ref SVGMetadataElement::create(const QualifiedName& tagName, Document& document) { - return adoptRef(new SVGMetadataElement(tagName, document)); + return adoptRef(*new SVGMetadataElement(tagName, document)); } } - -#endif // ENABLE(SVG) -- cgit v1.2.1