| Index: src/gpu/GrPathUtils.cpp
|
| diff --git a/src/gpu/GrPathUtils.cpp b/src/gpu/GrPathUtils.cpp
|
| index d412b8cd9dfea373d6b6846a42a21407e47b4cd3..81348ec239995a5a5645a1f553d8e1930b2dc869 100644
|
| --- a/src/gpu/GrPathUtils.cpp
|
| +++ b/src/gpu/GrPathUtils.cpp
|
| @@ -34,7 +34,7 @@ SkScalar GrPathUtils::scaleToleranceToSrc(SkScalar devTol,
|
| }
|
|
|
| static const int MAX_POINTS_PER_CURVE = 1 << 10;
|
| -static const SkScalar gMinCurveTol = SkFloatToScalar(0.0001f);
|
| +static const SkScalar gMinCurveTol = 0.0001f;
|
|
|
| uint32_t GrPathUtils::quadraticPointCount(const GrPoint points[],
|
| SkScalar tol) {
|
| @@ -250,7 +250,7 @@ void GrPathUtils::QuadUVMatrix::set(const GrPoint qPts[3]) {
|
| m.postConcat(UVpts);
|
|
|
| // The matrix should not have perspective.
|
| - SkDEBUGCODE(static const SkScalar gTOL = SkFloatToScalar(1.f / 100.f));
|
| + SkDEBUGCODE(static const SkScalar gTOL = 1.f / 100.f);
|
| SkASSERT(SkScalarAbs(m.get(SkMatrix::kMPersp0)) < gTOL);
|
| SkASSERT(SkScalarAbs(m.get(SkMatrix::kMPersp1)) < gTOL);
|
|
|
|
|