diff options
Diffstat (limited to 'Source/WebCore/svg/SVGFEFuncRElement.cpp')
-rw-r--r-- | Source/WebCore/svg/SVGFEFuncRElement.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
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> SVGFEFuncRElement::create(const QualifiedName& tagName, Document& document) +Ref<SVGFEFuncRElement> 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 |