2009-10-08 Nikolas Zimmermann <nzimmermann@rim.com>
Reviewed by Eric Seidel.
Move SVGFitToViewBox ANIMATED_* macros in classes that inherit from it
https://bugs.webkit.org/show_bug.cgi?id=30230
This patch also devirtualizes viewBoxToViewTransform(), is it's superflous.
viewBoxToViewTransform() is now a simple static heper function in SVGFitToViewBox.
As a result, the SVGSVGElement::viewBoxToViewTransform() function now resuses the same logic.
As side-effect this patch fixes svg/custom/linking-a-03-b-transform.svg, the return
statement in SVGSVGElement::viewBoxToViewTransform() was clearly wrong.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49312 268f45cc-cd09-0410-ab3c-d52691b4dbfc
19 files changed