Index: src/pathops/SkPathOpsDebug.cpp |
diff --git a/src/pathops/SkPathOpsDebug.cpp b/src/pathops/SkPathOpsDebug.cpp |
index 627a7c9f4023ef81a182505d7538d30abd25f2e5..49422305a7d450395d8a48ea0ff9b79fec940d2f 100644 |
--- a/src/pathops/SkPathOpsDebug.cpp |
+++ b/src/pathops/SkPathOpsDebug.cpp |
@@ -135,6 +135,18 @@ void SkPathOpsDebug::ShowPath(const SkPath& a, const SkPath& b, SkPathOp shapeOp |
show_op(shapeOp, "path", "pathB"); |
} |
+#include "SkPathOpsTypes.h" |
+ |
+#ifdef SK_DEBUG |
+bool SkOpGlobalState::debugRunFail() const { |
+#if DEBUG_VALIDATE |
+ return FLAGS_runFail; |
+#else |
+ return false; |
+#endif |
+} |
+#endif |
+ |
#include "SkPathOpsCubic.h" |
#include "SkPathOpsQuad.h" |