Index: src/gpu/batches/GrAAHairLinePathRenderer.cpp |
diff --git a/src/gpu/batches/GrAAHairLinePathRenderer.cpp b/src/gpu/batches/GrAAHairLinePathRenderer.cpp |
index effd8c3b0ff935a6ba067b1efd1c2045fe9dc4c4..fd6500f7701af2f499edacd76cc1d344ec1e2bea 100644 |
--- a/src/gpu/batches/GrAAHairLinePathRenderer.cpp |
+++ b/src/gpu/batches/GrAAHairLinePathRenderer.cpp |
@@ -170,7 +170,7 @@ static int chop_conic(const SkPoint src[3], SkConic dst[4], const SkScalar weigh |
// in this case approx the path with lines |
// otherwise returns 1 |
static int is_degen_quad_or_conic(const SkPoint p[3], SkScalar* dsqd) { |
- static const SkScalar gDegenerateToLineTol = GrPathUtils::kDefaultTolerance; |
+ static const SkScalar gDegenerateToLineTol = SK_ScalarRoot2Over2; |
static const SkScalar gDegenerateToLineTolSqd = |
SkScalarMul(gDegenerateToLineTol, gDegenerateToLineTol); |