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

Unified Diff: third_party/WebKit/Source/core/svg/SVGPathStringSource.cpp

Issue 1416273002: Remove SVGPathElement.pathSegList and related interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 2 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: third_party/WebKit/Source/core/svg/SVGPathStringSource.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGPathStringSource.cpp b/third_party/WebKit/Source/core/svg/SVGPathStringSource.cpp
index a9c58b94a30caa786a7a805452e8139160c5fec2..5d3523339b4ef0b76431de5c1987dc46c633a7a5 100644
--- a/third_party/WebKit/Source/core/svg/SVGPathStringSource.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGPathStringSource.cpp
@@ -217,9 +217,9 @@ PathSegmentData SVGPathStringSource::parseSegment()
break;
case PathSegArcRel:
case PathSegArcAbs:
- segment.point1.setX(parseNumberWithError()); // rx
- segment.point1.setY(parseNumberWithError()); // ry
- segment.point2.setX(parseNumberWithError()); // angle
+ segment.arcRadii().setX(parseNumberWithError());
+ segment.arcRadii().setY(parseNumberWithError());
+ segment.setArcAngle(parseNumberWithError());
segment.arcLarge = parseArcFlagWithError();
segment.arcSweep = parseArcFlagWithError();
segment.targetPoint.setX(parseNumberWithError());

Powered by Google App Engine
This is Rietveld 408576698