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

Unified Diff: third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.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/SVGPathByteStreamSource.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.cpp b/third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.cpp
index 5511d57e0d9bf0664946530c924ff82286f02b69..ae38a657af4bca41ea6eb1f1562b8975aa8d4bb1 100644
--- a/third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.cpp
@@ -76,8 +76,8 @@ PathSegmentData SVGPathByteStreamSource::parseSegment()
break;
case PathSegArcRel:
case PathSegArcAbs: {
- segment.point1 = readFloatPoint(); // rx and ry
- segment.point2.setX(readFloat()); // angle
+ segment.arcRadii() = readFloatPoint();
+ segment.setArcAngle(readFloat());
segment.arcLarge = readFlag();
segment.arcSweep = readFlag();
segment.targetPoint = readFloatPoint();
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGPathByteStreamBuilder.cpp ('k') | third_party/WebKit/Source/core/svg/SVGPathData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698