Index: src/pathops/SkPathOpsDebug.cpp |
diff --git a/src/pathops/SkPathOpsDebug.cpp b/src/pathops/SkPathOpsDebug.cpp |
index d28dc7292480e0d83738866d112244d4ea2895ae..627a7c9f4023ef81a182505d7538d30abd25f2e5 100644 |
--- a/src/pathops/SkPathOpsDebug.cpp |
+++ b/src/pathops/SkPathOpsDebug.cpp |
@@ -547,7 +547,9 @@ int SkOpPtT::debugLoopLimit(bool report) const { |
void SkOpPtT::debugValidate() const { |
#if DEBUG_VALIDATE |
- if (contour()->globalState()->phase() == SkOpGlobalState::kIntersecting) { |
+ SkOpGlobalState::Phase phase = contour()->globalState()->phase(); |
+ if (phase == SkOpGlobalState::kIntersecting |
+ || phase == SkOpGlobalState::kFixWinding) { |
return; |
} |
SkASSERT(fNext); |