Index: src/gpu/batches/GrAAHairLinePathRenderer.cpp |
diff --git a/src/gpu/batches/GrAAHairLinePathRenderer.cpp b/src/gpu/batches/GrAAHairLinePathRenderer.cpp |
index db4bbdfdb3a1923549428105a79f278ae051331b..556e2514e2b0e22f80d7d0ed64a4c2f556e73cd3 100644 |
--- a/src/gpu/batches/GrAAHairLinePathRenderer.cpp |
+++ b/src/gpu/batches/GrAAHairLinePathRenderer.cpp |
@@ -966,11 +966,11 @@ bool GrAAHairLinePathRenderer::onDrawPath(const DrawPathArgs& args) { |
GR_AUDIT_TRAIL_AUTO_FRAME(args.fTarget->getAuditTrail(),"GrAAHairlinePathRenderer::onDrawPath"); |
SkIRect devClipBounds; |
GrRenderTarget* rt = args.fPipelineBuilder->getRenderTarget(); |
- args.fPipelineBuilder->clip().getConservativeBounds(rt->width(), rt->height(), &devClipBounds); |
+ args.fClip->getConservativeBounds(rt->width(), rt->height(), &devClipBounds); |
SkAutoTUnref<GrDrawBatch> batch(create_hairline_batch(args.fColor, *args.fViewMatrix, *args.fPath, |
*args.fStyle, devClipBounds)); |
- args.fTarget->drawBatch(*args.fPipelineBuilder, batch); |
+ args.fTarget->drawBatch(*args.fPipelineBuilder, *args.fClip, batch); |
return true; |
} |