Index: src/pathops/SkIntersectionHelper.h |
diff --git a/src/pathops/SkIntersectionHelper.h b/src/pathops/SkIntersectionHelper.h |
index fa1aa697c29461bd03e31482678c172ad47a3ee8..4e8c658ec23d49dd7da3a917fc3f2cb38275f26e 100644 |
--- a/src/pathops/SkIntersectionHelper.h |
+++ b/src/pathops/SkIntersectionHelper.h |
@@ -46,8 +46,8 @@ public: |
return fContour->addT(fIndex, other.fContour, other.fIndex, pt, newT); |
} |
- int addSelfT(const SkIntersectionHelper& other, const SkPoint& pt, double newT) { |
- return fContour->addSelfT(fIndex, other.fContour, other.fIndex, pt, newT); |
+ int addSelfT(const SkPoint& pt, double newT) { |
+ return fContour->addSelfT(fIndex, pt, newT); |
} |
bool advance() { |
@@ -141,20 +141,10 @@ public: |
return y() != pts()[0].fY; |
} |
-#ifdef SK_DEBUG |
- void dump() { |
- SkDPoint::dump(pts()[0]); |
- SkDPoint::dump(pts()[1]); |
- if (verb() >= SkPath::kQuad_Verb) { |
- SkDPoint::dump(pts()[2]); |
- } |
- if (verb() >= SkPath::kCubic_Verb) { |
- SkDPoint::dump(pts()[3]); |
- } |
- } |
-#endif |
- |
private: |
+ // utility callable by the user from the debugger when the implementation code is linked in |
+ void dump() const; |
+ |
SkOpContour* fContour; |
int fIndex; |
int fLast; |