Index: src/gpu/batches/GrTessellatingPathRenderer.cpp |
diff --git a/src/gpu/batches/GrTessellatingPathRenderer.cpp b/src/gpu/batches/GrTessellatingPathRenderer.cpp |
index 082a8dbdcfa68779e57f9676dd5b4c5e74fe3e46..27e287e9c6bceb6b48c7e500ef338fcc7b259775 100644 |
--- a/src/gpu/batches/GrTessellatingPathRenderer.cpp |
+++ b/src/gpu/batches/GrTessellatingPathRenderer.cpp |
@@ -1634,7 +1634,7 @@ bool GrTessellatingPathRenderer::onDrawPath(const DrawPathArgs& args) { |
} |
SkIRect clipBoundsI; |
- args.fPipelineBuilder->clip().getConservativeBounds(rt, &clipBoundsI); |
+ args.fPipelineBuilder->clip().getConservativeBounds(rt->width(), rt->height(), &clipBoundsI); |
SkRect clipBounds = SkRect::Make(clipBoundsI); |
SkMatrix vmi; |
if (!args.fViewMatrix->invert(&vmi)) { |