Index: src/pathops/SkPathOpsDebug.cpp |
diff --git a/src/pathops/SkPathOpsDebug.cpp b/src/pathops/SkPathOpsDebug.cpp |
index 9d82dffc1a4fef15f572db753c167813fc114275..96029b340baa8b38d9391163c6b9f95610b87f38 100644 |
--- a/src/pathops/SkPathOpsDebug.cpp |
+++ b/src/pathops/SkPathOpsDebug.cpp |
@@ -104,7 +104,12 @@ void SkPathOpsDebug::ShowPath(const SkPath& one, const SkPath& two, SkPathOp op, |
#if DEBUG_SORT |
void SkOpAngle::debugLoop() const { |
- dumpLoop(); |
+ const SkOpAngle* first = this; |
+ const SkOpAngle* next = this; |
+ do { |
+ next->dumpOne(true); |
+ next = next->fNext; |
+ } while (next && next != first); |
} |
#endif |