Index: src/gpu/GrAAHairLinePathRenderer.cpp |
diff --git a/src/gpu/GrAAHairLinePathRenderer.cpp b/src/gpu/GrAAHairLinePathRenderer.cpp |
index 50d7764fa798d86095a50996a0b55698e9be6a4f..02c44191ad3bf02ec72200261fff74ce6958a76d 100644 |
--- a/src/gpu/GrAAHairLinePathRenderer.cpp |
+++ b/src/gpu/GrAAHairLinePathRenderer.cpp |
@@ -759,7 +759,7 @@ bool GrAAHairLinePathRenderer::createLineGeom(const SkPath& path, |
} |
devBounds->set(lines.begin(), lines.count()); |
for (int i = 0; i < lineCnt; ++i) { |
- add_line(&lines[2*i], toSrc, drawState->getCoverageColor(), &verts); |
+ add_line(&lines[2*i], toSrc, drawState->getCoverage(), &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); |