| Index: Source/core/svg/SVGFEPointLightElement.cpp
|
| diff --git a/Source/core/svg/SVGFEPointLightElement.cpp b/Source/core/svg/SVGFEPointLightElement.cpp
|
| index 79c43e74d6f037292a48b565908c1efbfd92dfd2..68e0358ca3328723a0d7ab8de0fe36877668f375 100644
|
| --- a/Source/core/svg/SVGFEPointLightElement.cpp
|
| +++ b/Source/core/svg/SVGFEPointLightElement.cpp
|
| @@ -36,8 +36,7 @@ DEFINE_NODE_FACTORY(SVGFEPointLightElement)
|
|
|
| PassRefPtr<LightSource> SVGFEPointLightElement::lightSource(Filter* filter) const
|
| {
|
| - FloatPoint3D location(x()->currentValue()->value(), y()->currentValue()->value(), z()->currentValue()->value());
|
| - return PointLightSource::create(filter->resolve3dPoint(location));
|
| + return PointLightSource::create(filter->resolve3dPoint(position()));
|
| }
|
|
|
| }
|
|
|