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

Unified Diff: Source/core/rendering/svg/SVGPathData.cpp

Issue 79063004: Fix animation of points attribute for polygons (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Properly merge Created 7 years, 1 month 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
« no previous file with comments | « LayoutTests/svg/animations/polyline-set-expected.svg ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/SVGPathData.cpp
diff --git a/Source/core/rendering/svg/SVGPathData.cpp b/Source/core/rendering/svg/SVGPathData.cpp
index 7e59f825e6da7c5602e6e863e398374f3ffd840e..0e7691c1cbdb058bb1ebc965ac5ea94aaceb9138 100644
--- a/Source/core/rendering/svg/SVGPathData.cpp
+++ b/Source/core/rendering/svg/SVGPathData.cpp
@@ -74,7 +74,7 @@ static void updatePathFromPathElement(SVGElement* element, Path& path)
static void updatePathFromPolygonElement(SVGElement* element, Path& path)
{
- SVGPointList& points = toSVGPolygonElement(element)->pointsCurrentValue();
+ SVGPointList& points = toSVGPolygonElement(element)->animatedPoints()->values();
if (points.isEmpty())
return;
@@ -89,7 +89,7 @@ static void updatePathFromPolygonElement(SVGElement* element, Path& path)
static void updatePathFromPolylineElement(SVGElement* element, Path& path)
{
- SVGPointList& points = toSVGPolylineElement(element)->pointsCurrentValue();
+ SVGPointList& points = toSVGPolylineElement(element)->animatedPoints()->values();
if (points.isEmpty())
return;
« no previous file with comments | « LayoutTests/svg/animations/polyline-set-expected.svg ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698