summaryrefslogtreecommitdiff
path: root/Source/WebCore/svg/SVGFEMergeElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/svg/SVGFEMergeElement.h')
-rw-r--r--Source/WebCore/svg/SVGFEMergeElement.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/Source/WebCore/svg/SVGFEMergeElement.h b/Source/WebCore/svg/SVGFEMergeElement.h
index dd58b552e..7d18d09cc 100644
--- a/Source/WebCore/svg/SVGFEMergeElement.h
+++ b/Source/WebCore/svg/SVGFEMergeElement.h
@@ -18,10 +18,8 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef SVGFEMergeElement_h
-#define SVGFEMergeElement_h
+#pragma once
-#if ENABLE(SVG) && ENABLE(FILTERS)
#include "FEMerge.h"
#include "SVGFilterPrimitiveStandardAttributes.h"
@@ -29,15 +27,12 @@ namespace WebCore {
class SVGFEMergeElement final : public SVGFilterPrimitiveStandardAttributes {
public:
- static PassRefPtr<SVGFEMergeElement> create(const QualifiedName&, Document&);
+ static Ref<SVGFEMergeElement> create(const QualifiedName&, Document&);
private:
SVGFEMergeElement(const QualifiedName&, Document&);
- virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*) override;
+ RefPtr<FilterEffect> build(SVGFilterBuilder*, Filter&) override;
};
} // namespace WebCore
-
-#endif // ENABLE(SVG)
-#endif