Index: src/core/SkGeometry.cpp |
diff --git a/src/core/SkGeometry.cpp b/src/core/SkGeometry.cpp |
index 2ea3095198b4998d153e1f6ccade2c3ae1102446..04e396c37741d8d13d5a925e36ef0f42bb988c88 100644 |
--- a/src/core/SkGeometry.cpp |
+++ b/src/core/SkGeometry.cpp |
@@ -951,6 +951,7 @@ bool SkChopMonoCubicAtX(SkPoint src[4], SkScalar x, SkPoint dst[7]) { |
/////////////////////////////////////////////////////////////////////////////// |
+#ifdef SK_SUPPORT_LEGACY_ARCTO |
/* Find t value for quadratic [a, b, c] = d. |
Return 0 if there is no solution within [0, 1) |
*/ |
@@ -1120,7 +1121,7 @@ int SkBuildQuadArc(const SkVector& uStart, const SkVector& uStop, |
matrix.mapPoints(quadPoints, pointCount); |
return pointCount; |
} |
- |
+#endif |
/////////////////////////////////////////////////////////////////////////////// |
// |