Index: src/gpu/batches/GrTessellatingPathRenderer.cpp |
diff --git a/src/gpu/batches/GrTessellatingPathRenderer.cpp b/src/gpu/batches/GrTessellatingPathRenderer.cpp |
index 728ec7405954cc65d7b3bd207d348b637f9bae2a..e697f78d7218e2a6d36f8c06f3b0fce3ce1c69be 100644 |
--- a/src/gpu/batches/GrTessellatingPathRenderer.cpp |
+++ b/src/gpu/batches/GrTessellatingPathRenderer.cpp |
@@ -287,7 +287,7 @@ bool GrTessellatingPathRenderer::onDrawPath(const DrawPathArgs& args) { |
} |
SkIRect clipBoundsI; |
- args.fPipelineBuilder->clip().getConservativeBounds(rt->width(), rt->height(), &clipBoundsI); |
+ args.fClip->getConservativeBounds(rt->width(), rt->height(), &clipBoundsI); |
SkRect clipBounds = SkRect::Make(clipBoundsI); |
SkMatrix vmi; |
if (!args.fViewMatrix->invert(&vmi)) { |
@@ -297,7 +297,7 @@ bool GrTessellatingPathRenderer::onDrawPath(const DrawPathArgs& args) { |
SkAutoTUnref<GrDrawBatch> batch(TessellatingPathBatch::Create(args.fColor, *args.fPath, |
*args.fStyle, *args.fViewMatrix, |
clipBounds)); |
- args.fTarget->drawBatch(*args.fPipelineBuilder, batch); |
+ args.fTarget->drawBatch(*args.fPipelineBuilder, *args.fClip, batch); |
return true; |
} |