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