diff options
Diffstat (limited to 'WebCore/svg/SVGFESpotLightElement.cpp')
-rw-r--r-- | WebCore/svg/SVGFESpotLightElement.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/svg/SVGFESpotLightElement.cpp b/WebCore/svg/SVGFESpotLightElement.cpp index 7d89f78..5add579 100644 --- a/WebCore/svg/SVGFESpotLightElement.cpp +++ b/WebCore/svg/SVGFESpotLightElement.cpp @@ -34,7 +34,7 @@ SVGFESpotLightElement::~SVGFESpotLightElement() { } -SVGLightSource* SVGFESpotLightElement::lightSource() const +LightSource* SVGFESpotLightElement::lightSource() const { FloatPoint3D pos(x(), y(), z()); @@ -44,7 +44,7 @@ SVGLightSource* SVGFESpotLightElement::lightSource() const pointsAtZ() - pos.z()); direction.normalize(); - return new SVGSpotLightSource(pos, direction, specularExponent(), limitingConeAngle()); + return new SpotLightSource(pos, direction, specularExponent(), limitingConeAngle()); } } |