Index: src/pathops/SkOpSegment.h |
diff --git a/src/pathops/SkOpSegment.h b/src/pathops/SkOpSegment.h |
index d2322c8be11c765a5b6e3f64ab155c4ffee71d8f..e489acfb025da89c9bc6af142b34ce07a0052e2c 100644 |
--- a/src/pathops/SkOpSegment.h |
+++ b/src/pathops/SkOpSegment.h |
@@ -54,7 +54,7 @@ public: |
} |
SkVector dxdy(int index) const { |
- return (*CurveSlopeAtT[fVerb])(fPts, fTs[index].fT); |
+ return (*CurveSlopeAtT[SkPathOpsVerbToPoints(fVerb)])(fPts, fTs[index].fT); |
} |
SkScalar dy(int index) const { |
@@ -82,7 +82,7 @@ public: |
} |
bool isVertical(int start, int end) const { |
- return (*CurveIsVertical[fVerb])(fPts, start, end); |
+ return (*CurveIsVertical[SkPathOpsVerbToPoints(fVerb)])(fPts, start, end); |
} |
bool operand() const { |
@@ -206,7 +206,7 @@ public: |
// used only by right angle winding finding |
SkPoint xyAtT(double mid) const { |
- return (*CurvePointAtT[fVerb])(fPts, mid); |
+ return (*CurvePointAtT[SkPathOpsVerbToPoints(fVerb)])(fPts, mid); |
} |
const SkPoint& xyAtT(int index) const { |