Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1506)

Unified Diff: Source/core/svg/SVGFESpotLightElement.cpp

Issue 19097005: Remove one SVG animated type special case from the bindings generator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix the regressions Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/svg/SVGFESpotLightElement.cpp
diff --git a/Source/core/svg/SVGFESpotLightElement.cpp b/Source/core/svg/SVGFESpotLightElement.cpp
index b91c4cdbec2fb7635cfd587f15f9b897fc17f8cf..aa09fb10399c9fab5b6545eecf67782f1cc7f716 100644
--- a/Source/core/svg/SVGFESpotLightElement.cpp
+++ b/Source/core/svg/SVGFESpotLightElement.cpp
@@ -40,10 +40,10 @@ PassRefPtr<SVGFESpotLightElement> SVGFESpotLightElement::create(const QualifiedN
PassRefPtr<LightSource> SVGFESpotLightElement::lightSource() const
{
- FloatPoint3D pos(x(), y(), z());
- FloatPoint3D direction(pointsAtX(), pointsAtY(), pointsAtZ());
+ FloatPoint3D pos(xCurrentValue(), yCurrentValue(), zCurrentValue());
+ FloatPoint3D direction(pointsAtXCurrentValue(), pointsAtYCurrentValue(), pointsAtZCurrentValue());
- return SpotLightSource::create(pos, direction, specularExponent(), limitingConeAngle());
+ return SpotLightSource::create(pos, direction, specularExponentCurrentValue(), limitingConeAngleCurrentValue());
}
}

Powered by Google App Engine
This is Rietveld 408576698