diff options
Diffstat (limited to 'Source/WebCore/svg/SVGFEOffsetElement.h')
-rw-r--r-- | Source/WebCore/svg/SVGFEOffsetElement.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/Source/WebCore/svg/SVGFEOffsetElement.h b/Source/WebCore/svg/SVGFEOffsetElement.h index 4e0226a25..c7e00af6e 100644 --- a/Source/WebCore/svg/SVGFEOffsetElement.h +++ b/Source/WebCore/svg/SVGFEOffsetElement.h @@ -18,10 +18,8 @@ * Boston, MA 02110-1301, USA. */ -#ifndef SVGFEOffsetElement_h -#define SVGFEOffsetElement_h +#pragma once -#if ENABLE(SVG) && ENABLE(FILTERS) #include "FEOffset.h" #include "SVGAnimatedNumber.h" #include "SVGFilterPrimitiveStandardAttributes.h" @@ -30,15 +28,14 @@ namespace WebCore { class SVGFEOffsetElement final : public SVGFilterPrimitiveStandardAttributes { public: - static PassRefPtr<SVGFEOffsetElement> create(const QualifiedName&, Document&); + static Ref<SVGFEOffsetElement> create(const QualifiedName&, Document&); private: SVGFEOffsetElement(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(SVGFEOffsetElement) DECLARE_ANIMATED_STRING(In1, in1) @@ -48,6 +45,3 @@ private: }; } // namespace WebCore - -#endif // ENABLE(SVG) -#endif |