diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/svg/SVGFEPointLightElement.cpp | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebCore/svg/SVGFEPointLightElement.cpp')
-rw-r--r-- | Source/WebCore/svg/SVGFEPointLightElement.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
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> SVGFEPointLightElement::create(const QualifiedName& tagName, Document& document) +Ref<SVGFEPointLightElement> SVGFEPointLightElement::create(const QualifiedName& tagName, Document& document) { - return adoptRef(new SVGFEPointLightElement(tagName, document)); + return adoptRef(*new SVGFEPointLightElement(tagName, document)); } -PassRefPtr<LightSource> SVGFEPointLightElement::lightSource() const +Ref<LightSource> SVGFEPointLightElement::lightSource() const { return PointLightSource::create(FloatPoint3D(x(), y(), z())); } } - -#endif // ENABLE(SVG) - -// vim:ts=4:noet |