Index: include/core/SkPathMeasure.h |
diff --git a/include/core/SkPathMeasure.h b/include/core/SkPathMeasure.h |
index 7528736ba85bfa066606dbeb0bdc7fe05837358f..415ee2709c05891c631b0040c6ed7f3f81207bb9 100644 |
--- a/include/core/SkPathMeasure.h |
+++ b/include/core/SkPathMeasure.h |
@@ -107,7 +107,13 @@ private: |
void buildSegments(); |
SkScalar compute_quad_segs(const SkPoint pts[3], SkScalar distance, |
int mint, int maxt, int ptIndex); |
+#ifdef SK_SUPPORT_LEGACY_CONIC_MEASURE |
SkScalar compute_conic_segs(const SkConic&, SkScalar distance, int mint, int maxt, int ptIndex); |
+#else |
+ SkScalar compute_conic_segs(const SkConic&, SkScalar distance, |
+ int mint, const SkPoint& minPt, |
+ int maxt, const SkPoint& maxPt, int ptIndex); |
+#endif |
SkScalar compute_cubic_segs(const SkPoint pts[3], SkScalar distance, |
int mint, int maxt, int ptIndex); |
const Segment* distanceToSegment(SkScalar distance, SkScalar* t); |