Index: src/gpu/batches/GrAAHairLinePathRenderer.cpp |
diff --git a/src/gpu/batches/GrAAHairLinePathRenderer.cpp b/src/gpu/batches/GrAAHairLinePathRenderer.cpp |
index 1a5e6971e7f5c22e740b9e7cb1161ec9a0dcca31..206a72899f812da456781d5c580135ce3201a3c9 100644 |
--- a/src/gpu/batches/GrAAHairLinePathRenderer.cpp |
+++ b/src/gpu/batches/GrAAHairLinePathRenderer.cpp |
@@ -968,7 +968,8 @@ bool GrAAHairLinePathRenderer::onDrawPath(const DrawPathArgs& args) { |
SkPath path; |
args.fShape->asPath(&path); |
- SkAutoTUnref<GrDrawBatch> batch(create_hairline_batch(args.fColor, *args.fViewMatrix, path, |
+ SkAutoTUnref<GrDrawBatch> batch(create_hairline_batch(args.fPaint->getColor(), |
+ *args.fViewMatrix, path, |
args.fShape->style(), devClipBounds)); |
GrPipelineBuilder pipelineBuilder(*args.fPaint); |