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