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