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