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/SVGFEFuncRElement.cpp | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'Source/WebCore/svg/SVGFEFuncRElement.cpp') diff --git a/Source/WebCore/svg/SVGFEFuncRElement.cpp b/Source/WebCore/svg/SVGFEFuncRElement.cpp index 04714fee4..38cbe338d 100644 --- a/Source/WebCore/svg/SVGFEFuncRElement.cpp +++ b/Source/WebCore/svg/SVGFEFuncRElement.cpp @@ -19,9 +19,8 @@ */ #include "config.h" - -#if ENABLE(SVG) && ENABLE(FILTERS) #include "SVGFEFuncRElement.h" + #include "SVGNames.h" namespace WebCore { @@ -32,13 +31,9 @@ inline SVGFEFuncRElement::SVGFEFuncRElement(const QualifiedName& tagName, Docume ASSERT(hasTagName(SVGNames::feFuncRTag)); } -PassRefPtr SVGFEFuncRElement::create(const QualifiedName& tagName, Document& document) +Ref SVGFEFuncRElement::create(const QualifiedName& tagName, Document& document) { - return adoptRef(new SVGFEFuncRElement(tagName, document)); + return adoptRef(*new SVGFEFuncRElement(tagName, document)); } } - -#endif // ENABLE(SVG) - -// vim:ts=4:noet -- cgit v1.2.1