diff options
Diffstat (limited to 'WebCore/svg/SVGFEPointLightElement.cpp')
-rw-r--r-- | WebCore/svg/SVGFEPointLightElement.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/WebCore/svg/SVGFEPointLightElement.cpp b/WebCore/svg/SVGFEPointLightElement.cpp index 46568ff..4436ab9 100644 --- a/WebCore/svg/SVGFEPointLightElement.cpp +++ b/WebCore/svg/SVGFEPointLightElement.cpp @@ -25,19 +25,19 @@ namespace WebCore { -SVGFEPointLightElement::SVGFEPointLightElement(const QualifiedName& tagName, Document* doc) - : SVGFELightElement(tagName, doc) +inline SVGFEPointLightElement::SVGFEPointLightElement(const QualifiedName& tagName, Document* document) + : SVGFELightElement(tagName, document) { } -SVGFEPointLightElement::~SVGFEPointLightElement() +PassRefPtr<SVGFEPointLightElement> SVGFEPointLightElement::create(const QualifiedName& tagName, Document* document) { + return adoptRef(new SVGFEPointLightElement(tagName, document)); } PassRefPtr<LightSource> SVGFEPointLightElement::lightSource() const { - FloatPoint3D pos(x(), y(), z()); - return PointLightSource::create(pos); + return PointLightSource::create(FloatPoint3D(x(), y(), z())); } } |