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