Index: src/gpu/GrSWMaskHelper.cpp |
diff --git a/src/gpu/GrSWMaskHelper.cpp b/src/gpu/GrSWMaskHelper.cpp |
index 937b34380ba464951ff9e59870c145326be033b9..c89c58ee358461790713a600bf6404f98d0c8d2d 100644 |
--- a/src/gpu/GrSWMaskHelper.cpp |
+++ b/src/gpu/GrSWMaskHelper.cpp |
@@ -322,6 +322,7 @@ GrTexture* GrSWMaskHelper::DrawPathMaskToTexture(GrContext* context, |
void GrSWMaskHelper::DrawToTargetWithPathMask(GrTexture* texture, |
GrDrawTarget* target, |
GrPipelineBuilder* pipelineBuilder, |
+ const GrClip& clip, |
GrColor color, |
const SkMatrix& viewMatrix, |
const SkIRect& rect) { |
@@ -351,5 +352,5 @@ void GrSWMaskHelper::DrawToTargetWithPathMask(GrTexture* texture, |
SkAutoTUnref<GrDrawBatch> batch(GrRectBatchFactory::CreateNonAAFill(color, SkMatrix::I(), |
dstRect, nullptr, &invert)); |
- target->drawBatch(*pipelineBuilder, batch); |
+ target->drawBatch(*pipelineBuilder, clip, batch); |
} |