Index: src/pathops/SkPathOpsTypes.cpp |
diff --git a/src/pathops/SkPathOpsTypes.cpp b/src/pathops/SkPathOpsTypes.cpp |
index bf43c1465942fe985de9230905872977b023918e..ca84405aa780f15b8db4ec24313b139ae524635d 100644 |
--- a/src/pathops/SkPathOpsTypes.cpp |
+++ b/src/pathops/SkPathOpsTypes.cpp |
@@ -210,6 +210,7 @@ SkOpGlobalState::SkOpGlobalState(SkOpCoincidence* coincidence, SkOpContourHead* |
, fPhase(kIntersecting) |
SkDEBUGPARAMS(fDebugTestName(testName)) |
SkDEBUGPARAMS(fAngleID(0)) |
+ SkDEBUGPARAMS(fCoinID(0)) |
SkDEBUGPARAMS(fContourID(0)) |
SkDEBUGPARAMS(fPtTID(0)) |
SkDEBUGPARAMS(fSegmentID(0)) |
@@ -217,5 +218,8 @@ SkOpGlobalState::SkOpGlobalState(SkOpCoincidence* coincidence, SkOpContourHead* |
if (coincidence) { |
coincidence->debugSetGlobalState(this); |
} |
+#if DEBUG_T_SECT_LOOP_COUNT |
+ debugResetLoopCounts(); |
+#endif |
} |