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