From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/svg/SVGFEPointLightElement.cpp | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'Source/WebCore/svg/SVGFEPointLightElement.cpp') diff --git a/Source/WebCore/svg/SVGFEPointLightElement.cpp b/Source/WebCore/svg/SVGFEPointLightElement.cpp index e215e055a..831f2c83b 100644 --- a/Source/WebCore/svg/SVGFEPointLightElement.cpp +++ b/Source/WebCore/svg/SVGFEPointLightElement.cpp @@ -18,8 +18,6 @@ */ #include "config.h" - -#if ENABLE(SVG) && ENABLE(FILTERS) #include "SVGFEPointLightElement.h" #include "SVGNames.h" @@ -33,18 +31,14 @@ inline SVGFEPointLightElement::SVGFEPointLightElement(const QualifiedName& tagNa ASSERT(hasTagName(SVGNames::fePointLightTag)); } -PassRefPtr SVGFEPointLightElement::create(const QualifiedName& tagName, Document& document) +Ref SVGFEPointLightElement::create(const QualifiedName& tagName, Document& document) { - return adoptRef(new SVGFEPointLightElement(tagName, document)); + return adoptRef(*new SVGFEPointLightElement(tagName, document)); } -PassRefPtr SVGFEPointLightElement::lightSource() const +Ref SVGFEPointLightElement::lightSource() const { return PointLightSource::create(FloatPoint3D(x(), y(), z())); } } - -#endif // ENABLE(SVG) - -// vim:ts=4:noet -- cgit v1.2.1