| Index: Source/core/svg/SVGFESpotLightElement.cpp
|
| diff --git a/Source/core/svg/SVGFESpotLightElement.cpp b/Source/core/svg/SVGFESpotLightElement.cpp
|
| index 8d1d081fbae46871245c0e0702651a91fdff8677..84ecb847609c861366caa7cb1e424e8030f2c2c7 100644
|
| --- a/Source/core/svg/SVGFESpotLightElement.cpp
|
| +++ b/Source/core/svg/SVGFESpotLightElement.cpp
|
| @@ -36,10 +36,7 @@ DEFINE_NODE_FACTORY(SVGFESpotLightElement)
|
|
|
| PassRefPtr<LightSource> SVGFESpotLightElement::lightSource(Filter* filter) const
|
| {
|
| - FloatPoint3D pos(x()->currentValue()->value(), y()->currentValue()->value(), z()->currentValue()->value());
|
| - FloatPoint3D direction(pointsAtX()->currentValue()->value(), pointsAtY()->currentValue()->value(), pointsAtZ()->currentValue()->value());
|
| -
|
| - return SpotLightSource::create(filter->resolve3dPoint(pos), filter->resolve3dPoint(direction), specularExponent()->currentValue()->value(), limitingConeAngle()->currentValue()->value());
|
| + return SpotLightSource::create(filter->resolve3dPoint(position()), filter->resolve3dPoint(pointsAt()), specularExponent()->currentValue()->value(), limitingConeAngle()->currentValue()->value());
|
| }
|
|
|
| }
|
|
|