diff options
Diffstat (limited to 'src/pathops/SkOpBuilder.cpp')
-rw-r--r-- | src/pathops/SkOpBuilder.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pathops/SkOpBuilder.cpp b/src/pathops/SkOpBuilder.cpp index 075520d2c1..abff9827d5 100644 --- a/src/pathops/SkOpBuilder.cpp +++ b/src/pathops/SkOpBuilder.cpp @@ -92,6 +92,9 @@ bool SkOpBuilder::FixWinding(SkPath* path) { SkPathWriter woundPath(empty); SkOpContour* test = &contourHead; do { + if (!test->count()) { + continue; + } if (test->reversed()) { test->toReversePath(&woundPath); } else { |