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

Unified Diff: src/pathops/SkPathOpsCommon.cpp

Issue 14407006: path ops -- handle non-finite numbers (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 8 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: src/pathops/SkPathOpsCommon.cpp
===================================================================
--- src/pathops/SkPathOpsCommon.cpp (revision 8862)
+++ src/pathops/SkPathOpsCommon.cpp (working copy)
@@ -399,6 +399,7 @@
#endif
SkTArray<SkOpContour> contours;
SkOpEdgeBuilder builder(path, contours);
+ builder.setAllowOpenContours(true);
builder.finish();
int count = contours.count();
int outer;

Powered by Google App Engine
This is Rietveld 408576698