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