summaryrefslogtreecommitdiff
path: root/Source/WebCore/svg/SVGFEMergeNodeElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/svg/SVGFEMergeNodeElement.h')
-rw-r--r--Source/WebCore/svg/SVGFEMergeNodeElement.h19
1 files changed, 5 insertions, 14 deletions
diff --git a/Source/WebCore/svg/SVGFEMergeNodeElement.h b/Source/WebCore/svg/SVGFEMergeNodeElement.h
index bef567dc5..3b718db6b 100644
--- a/Source/WebCore/svg/SVGFEMergeNodeElement.h
+++ b/Source/WebCore/svg/SVGFEMergeNodeElement.h
@@ -18,10 +18,8 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef SVGFEMergeNodeElement_h
-#define SVGFEMergeNodeElement_h
+#pragma once
-#if ENABLE(SVG) && ENABLE(FILTERS)
#include "SVGAnimatedString.h"
#include "SVGElement.h"
@@ -29,25 +27,18 @@ namespace WebCore {
class SVGFEMergeNodeElement final : public SVGElement {
public:
- static PassRefPtr<SVGFEMergeNodeElement> create(const QualifiedName&, Document&);
+ static Ref<SVGFEMergeNodeElement> create(const QualifiedName&, Document&);
private:
SVGFEMergeNodeElement(const QualifiedName&, Document&);
- bool isSupportedAttribute(const QualifiedName&);
- virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
- virtual void svgAttributeChanged(const QualifiedName&) override;
-
- virtual bool rendererIsNeeded(const RenderStyle&) override { return false; }
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ void svgAttributeChanged(const QualifiedName&) final;
+ bool rendererIsNeeded(const RenderStyle&) final { return false; }
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFEMergeNodeElement)
DECLARE_ANIMATED_STRING(In1, in1)
END_DECLARE_ANIMATED_PROPERTIES
};
-NODE_TYPE_CASTS(SVGFEMergeNodeElement)
-
} // namespace WebCore
-
-#endif // ENABLE(SVG)
-#endif