Index: src/gpu/GrSoftwarePathRenderer.cpp |
diff --git a/src/gpu/GrSoftwarePathRenderer.cpp b/src/gpu/GrSoftwarePathRenderer.cpp |
index 364c214a60b46a30c2f92b271b6a023a20422422..466ad817793a19aadff9613f2c52f9fcac02f8ce 100644 |
--- a/src/gpu/GrSoftwarePathRenderer.cpp |
+++ b/src/gpu/GrSoftwarePathRenderer.cpp |
@@ -50,7 +50,7 @@ bool get_path_and_clip_bounds(const GrDrawTarget* target, |
return false; |
} |
- target->getClip()->getConservativeBounds(rt, devClipBounds); |
+ pipelineBuilder->clip().getConservativeBounds(rt, devClipBounds); |
if (devClipBounds->isEmpty()) { |
*devPathBounds = SkIRect::MakeWH(rt->width(), rt->height()); |
@@ -127,8 +127,8 @@ bool GrSoftwarePathRenderer::onDrawPath(GrDrawTarget* target, |
} |
SkIRect devPathBounds, devClipBounds; |
- if (!get_path_and_clip_bounds(target, pipelineBuilder, path, viewMatrix, |
- &devPathBounds, &devClipBounds)) { |
+ if (!get_path_and_clip_bounds(target, pipelineBuilder, path, viewMatrix, &devPathBounds, |
+ &devClipBounds)) { |
if (path.isInverseFillType()) { |
draw_around_inv_path(target, pipelineBuilder, color, viewMatrix, devClipBounds, |
devPathBounds); |