summaryrefslogtreecommitdiff
path: root/Source/WebCore/svg/SVGFEFuncAElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/svg/SVGFEFuncAElement.h')
-rw-r--r--Source/WebCore/svg/SVGFEFuncAElement.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/Source/WebCore/svg/SVGFEFuncAElement.h b/Source/WebCore/svg/SVGFEFuncAElement.h
index b2ec58183..585623db5 100644
--- a/Source/WebCore/svg/SVGFEFuncAElement.h
+++ b/Source/WebCore/svg/SVGFEFuncAElement.h
@@ -18,25 +18,18 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef SVGFEFuncAElement_h
-#define SVGFEFuncAElement_h
+#pragma once
-#if ENABLE(SVG) && ENABLE(FILTERS)
#include "SVGComponentTransferFunctionElement.h"
namespace WebCore {
class SVGFEFuncAElement final : public SVGComponentTransferFunctionElement {
public:
- static PassRefPtr<SVGFEFuncAElement> create(const QualifiedName&, Document&);
+ static Ref<SVGFEFuncAElement> create(const QualifiedName&, Document&);
private:
SVGFEFuncAElement(const QualifiedName&, Document&);
};
-NODE_TYPE_CASTS(SVGFEFuncAElement)
-
} // namespace WebCore
-
-#endif // ENABLE(SVG)
-#endif