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

Unified Diff: Source/core/svg/SVGPathParser.h

Issue 1028183003: Pass segment to decomposeArcToCubic and let it handle exceptional cases (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | Source/core/svg/SVGPathParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathParser.h
diff --git a/Source/core/svg/SVGPathParser.h b/Source/core/svg/SVGPathParser.h
index 57c099b08a7c4f011f041531199ca06f458ad8c5..0f6c31e10329c85ec1f4f1bf25d42a87d9d5ee3e 100644
--- a/Source/core/svg/SVGPathParser.h
+++ b/Source/core/svg/SVGPathParser.h
@@ -49,7 +49,7 @@ public:
private:
bool initialCommandIsMoveTo();
- bool decomposeArcToCubic(float, float, float, const FloatPoint&, const FloatPoint&, bool largeArcFlag, bool sweepFlag);
+ bool decomposeArcToCubic(const FloatPoint& currentPoint, const PathSegmentData&);
void emitMoveToSegment(PathSegmentData&);
void emitLineToSegment(PathSegmentData&);
void emitLineToHorizontalSegment(PathSegmentData&);
« no previous file with comments | « no previous file | Source/core/svg/SVGPathParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698