Index: src/gpu/batches/GrAAHairLinePathRenderer.cpp |
diff --git a/src/gpu/batches/GrAAHairLinePathRenderer.cpp b/src/gpu/batches/GrAAHairLinePathRenderer.cpp |
index 94abe1c1ec3d05844d1cdddc27e0b9c783d4815c..d6ad9d32c9c73ef6d6f9ef288e65bd9408de4dc5 100644 |
--- a/src/gpu/batches/GrAAHairLinePathRenderer.cpp |
+++ b/src/gpu/batches/GrAAHairLinePathRenderer.cpp |
@@ -975,8 +975,8 @@ static GrDrawBatch* create_hairline_batch(GrColor color, |
bool GrAAHairLinePathRenderer::onDrawPath(const DrawPathArgs& args) { |
SkIRect devClipBounds; |
- args.fPipelineBuilder->clip().getConservativeBounds(args.fPipelineBuilder->getRenderTarget(), |
- &devClipBounds); |
+ GrRenderTarget* rt = args.fPipelineBuilder->getRenderTarget(); |
+ args.fPipelineBuilder->clip().getConservativeBounds(rt->width(), rt->height(), &devClipBounds); |
SkAutoTUnref<GrDrawBatch> batch(create_hairline_batch(args.fColor, *args.fViewMatrix, *args.fPath, |
*args.fStroke, devClipBounds)); |