<https://webkit.org/b/119996> Introduce toSVGAnimateElement(), and use it
authorgyuyoung.kim@samsung.com <gyuyoung.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Aug 2013 08:32:44 +0000 (08:32 +0000)
committergyuyoung.kim@samsung.com <gyuyoung.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Aug 2013 08:32:44 +0000 (08:32 +0000)
commit3f81f15f5f5ff94d26482c11a922e775cb7cc81e
treec2e3f93d3868938f710b7b889ffd1292e8bfb742
parentcc4412f60e3d63bcbb76949349398d3ad145e919
<https://webkit.org/b/119996> Introduce toSVGAnimateElement(), and use it

Reviewed by Andreas Kling.

As a step to clean-up static_cast<SVGXXX>, static_cast<SVGAnimateElement*> also can be changed
with toSVGAnimateElement().

* svg/SVGAnimateElement.cpp:
(WebCore::SVGAnimateElement::calculateAnimatedValue):
* svg/SVGAnimateElement.h:
(WebCore::toSVGAnimateElement):
* svg/SVGAnimationElement.cpp:
(WebCore::SVGAnimationElement::currentValuesForValuesAnimation):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@154266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/svg/SVGAnimateElement.cpp
Source/WebCore/svg/SVGAnimateElement.h
Source/WebCore/svg/SVGAnimationElement.cpp