diff options
Diffstat (limited to 'Source/WebCore/svg/SVGFEFloodElement.h')
-rw-r--r-- | Source/WebCore/svg/SVGFEFloodElement.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/Source/WebCore/svg/SVGFEFloodElement.h b/Source/WebCore/svg/SVGFEFloodElement.h index 0b33058cc..1c218ac6f 100644 --- a/Source/WebCore/svg/SVGFEFloodElement.h +++ b/Source/WebCore/svg/SVGFEFloodElement.h @@ -18,10 +18,8 @@ * Boston, MA 02110-1301, USA. */ -#ifndef SVGFEFloodElement_h -#define SVGFEFloodElement_h +#pragma once -#if ENABLE(SVG) && ENABLE(FILTERS) #include "FEFlood.h" #include "SVGFilterPrimitiveStandardAttributes.h" @@ -29,16 +27,13 @@ namespace WebCore { class SVGFEFloodElement final : public SVGFilterPrimitiveStandardAttributes { public: - static PassRefPtr<SVGFEFloodElement> create(const QualifiedName&, Document&); + static Ref<SVGFEFloodElement> create(const QualifiedName&, Document&); private: SVGFEFloodElement(const QualifiedName&, Document&); - virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName& attrName) override; - virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*) override; + bool setFilterEffectAttribute(FilterEffect*, const QualifiedName& attrName) override; + RefPtr<FilterEffect> build(SVGFilterBuilder*, Filter&) override; }; } // namespace WebCore - -#endif // ENABLE(SVG) && ENABLE(FILTERS) -#endif |