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