Index: src/pathops/SkPathOpsTypes.h |
diff --git a/src/pathops/SkPathOpsTypes.h b/src/pathops/SkPathOpsTypes.h |
index b35c97ef06775adad39e7f6f4da02e9df7ed3047..00c3e5fe9344cc464384953994106bfb7d8ad807 100644 |
--- a/src/pathops/SkPathOpsTypes.h |
+++ b/src/pathops/SkPathOpsTypes.h |
@@ -31,6 +31,7 @@ class SkIntersectionHelper; |
class SkOpGlobalState { |
public: |
SkOpGlobalState(SkOpCoincidence* coincidence, SkOpContourHead* head |
+ SkDEBUGPARAMS(bool debugSkipAssert) |
SkDEBUGPARAMS(const char* testName)); |
enum Phase { |
@@ -69,6 +70,7 @@ public: |
const class SkOpPtT* debugPtT(int id) const; |
bool debugRunFail() const; |
const class SkOpSegment* debugSegment(int id) const; |
+ bool debugSkipAssert() const { return fDebugSkipAssert; } |
const class SkOpSpanBase* debugSpan(int id) const; |
const char* debugTestName() const { return fDebugTestName; } |
#endif |
@@ -152,6 +154,7 @@ private: |
int fPtTID; |
int fSegmentID; |
int fSpanID; |
+ bool fDebugSkipAssert; |
#endif |
#if DEBUG_T_SECT_LOOP_COUNT |
int fDebugLoopCount[3]; |