Index: src/pathops/SkPathOpsSimplify.cpp |
diff --git a/src/pathops/SkPathOpsSimplify.cpp b/src/pathops/SkPathOpsSimplify.cpp |
index fd40c38503d8cfa0160901249e3d91067b326128..488778904f1bfa2ab2bb893eb3f9b751a9e0f397 100644 |
--- a/src/pathops/SkPathOpsSimplify.cpp |
+++ b/src/pathops/SkPathOpsSimplify.cpp |
@@ -185,6 +185,7 @@ bool Simplify(const SkPath& path, SkPath* result) { |
// eat through coincident edges |
CoincidenceCheck(&contourList, 0); |
FixOtherTIndex(&contourList); |
+ CheckEnds(&contourList); |
SortSegments(&contourList); |
#if DEBUG_ACTIVE_SPANS || DEBUG_ACTIVE_SPANS_FIRST_ONLY |
DebugShowActiveSpans(contourList); |