diff options
Diffstat (limited to 'Source/WebCore/svg/SVGFEDistantLightElement.h')
-rw-r--r-- | Source/WebCore/svg/SVGFEDistantLightElement.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/Source/WebCore/svg/SVGFEDistantLightElement.h b/Source/WebCore/svg/SVGFEDistantLightElement.h index f0635f57b..2ac08c372 100644 --- a/Source/WebCore/svg/SVGFEDistantLightElement.h +++ b/Source/WebCore/svg/SVGFEDistantLightElement.h @@ -17,27 +17,20 @@ * Boston, MA 02110-1301, USA. */ -#ifndef SVGFEDistantLightElement_h -#define SVGFEDistantLightElement_h +#pragma once -#if ENABLE(SVG) && ENABLE(FILTERS) #include "SVGFELightElement.h" namespace WebCore { class SVGFEDistantLightElement final : public SVGFELightElement { public: - static PassRefPtr<SVGFEDistantLightElement> create(const QualifiedName&, Document&); + static Ref<SVGFEDistantLightElement> create(const QualifiedName&, Document&); private: SVGFEDistantLightElement(const QualifiedName&, Document&); - virtual PassRefPtr<LightSource> lightSource() const override; + Ref<LightSource> lightSource() const override; }; -NODE_TYPE_CASTS(SVGFEDistantLightElement) - } // namespace WebCore - -#endif // ENABLE(SVG) -#endif |