Index: src/gpu/GrAAHairLinePathRenderer.cpp |
diff --git a/src/gpu/GrAAHairLinePathRenderer.cpp b/src/gpu/GrAAHairLinePathRenderer.cpp |
index f046af871f5ef1dab82218130e02defc63480e67..8110bf65e8db74120601661c042bf43fe0824b99 100644 |
--- a/src/gpu/GrAAHairLinePathRenderer.cpp |
+++ b/src/gpu/GrAAHairLinePathRenderer.cpp |
@@ -171,7 +171,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 = SK_Scalar1; |
+ static const SkScalar gDegenerateToLineTol = GrPathUtils::kDefaultTolerance; |
static const SkScalar gDegenerateToLineTolSqd = |
SkScalarMul(gDegenerateToLineTol, gDegenerateToLineTol); |