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