Index: src/pathops/SkPathOpsCubic.h |
diff --git a/src/pathops/SkPathOpsCubic.h b/src/pathops/SkPathOpsCubic.h |
index 7a57e94ef65fa63a75aea25403c25269cbd34b90..9fd0f171e24e39caa769db6728b4e15305ffdb91 100644 |
--- a/src/pathops/SkPathOpsCubic.h |
+++ b/src/pathops/SkPathOpsCubic.h |
@@ -27,13 +27,6 @@ struct SkDCubic { |
kYAxis |
}; |
- enum CubicType { |
- kUnsplit_SkDCubicType, |
- kSplitAtLoop_SkDCubicType, |
- kSplitAtInflection_SkDCubicType, |
- kSplitAtMaxCurvature_SkDCubicType, |
- }; |
- |
bool collapsed() const { |
return fPts[0].approximatelyEqual(fPts[1]) && fPts[0].approximatelyEqual(fPts[2]) |
&& fPts[0].approximatelyEqual(fPts[3]); |
@@ -58,7 +51,7 @@ struct SkDCubic { |
double calcPrecision() const; |
SkDCubicPair chopAt(double t) const; |
static void Coefficients(const double* cubic, double* A, double* B, double* C, double* D); |
- static bool ComplexBreak(const SkPoint pts[4], SkScalar* t, CubicType* cubicType); |
+ static bool ComplexBreak(const SkPoint pts[4], SkScalar* t); |
int convexHull(char order[kPointCount]) const; |
void debugInit() { |