diff options
Diffstat (limited to 'Source/WebCore/svg/SVGFETileElement.h')
-rw-r--r-- | Source/WebCore/svg/SVGFETileElement.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/Source/WebCore/svg/SVGFETileElement.h b/Source/WebCore/svg/SVGFETileElement.h index ddd288845..5651b3c8c 100644 --- a/Source/WebCore/svg/SVGFETileElement.h +++ b/Source/WebCore/svg/SVGFETileElement.h @@ -18,10 +18,8 @@ * Boston, MA 02110-1301, USA. */ -#ifndef SVGFETileElement_h -#define SVGFETileElement_h +#pragma once -#if ENABLE(SVG) && ENABLE(FILTERS) #include "FETile.h" #include "SVGFilterPrimitiveStandardAttributes.h" @@ -29,15 +27,14 @@ namespace WebCore { class SVGFETileElement final : public SVGFilterPrimitiveStandardAttributes { public: - static PassRefPtr<SVGFETileElement> create(const QualifiedName&, Document&); + static Ref<SVGFETileElement> create(const QualifiedName&, Document&); private: SVGFETileElement(const QualifiedName&, Document&); - bool isSupportedAttribute(const QualifiedName&); - virtual void parseAttribute(const QualifiedName&, const AtomicString&) override; - virtual void svgAttributeChanged(const QualifiedName&) override; - virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*) override; + void parseAttribute(const QualifiedName&, const AtomicString&) override; + void svgAttributeChanged(const QualifiedName&) override; + RefPtr<FilterEffect> build(SVGFilterBuilder*, Filter&) override; BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFETileElement) DECLARE_ANIMATED_STRING(In1, in1) @@ -45,6 +42,3 @@ private: }; } // namespace WebCore - -#endif // ENABLE(SVG) -#endif |