Index: src/gpu/GrAAHairLinePathRenderer.cpp |
diff --git a/src/gpu/GrAAHairLinePathRenderer.cpp b/src/gpu/GrAAHairLinePathRenderer.cpp |
index 39563105f8e77d958cdc415be11e52e45d91b88c..2b5428c47d78077ace0eefeaf236fb4b90f000bd 100644 |
--- a/src/gpu/GrAAHairLinePathRenderer.cpp |
+++ b/src/gpu/GrAAHairLinePathRenderer.cpp |
@@ -762,7 +762,7 @@ bool GrAAHairLinePathRenderer::createLineGeom(const SkPath& path, |
add_line(&lines[2*i], toSrc, drawState->getCoverageColor(), &verts); |
} |
// All the verts computed by add_line are within sqrt(1^2 + 0.5^2) of the end points. |
- static const SkScalar kSqrtOfOneAndAQuarter = SkFloatToScalar(1.118f); |
+ static const SkScalar kSqrtOfOneAndAQuarter = 1.118f; |
// Add a little extra to account for vector normalization precision. |
static const SkScalar kOutset = kSqrtOfOneAndAQuarter + SK_Scalar1 / 20; |
devBounds->outset(kOutset, kOutset); |