Index: src/gpu/GrSWMaskHelper.cpp |
diff --git a/src/gpu/GrSWMaskHelper.cpp b/src/gpu/GrSWMaskHelper.cpp |
index 05e270f2136ece0ec1e5be0bfe184f17211fc59c..0c42a2bb98af2c0603b4b33149ad824bd1c68612 100644 |
--- a/src/gpu/GrSWMaskHelper.cpp |
+++ b/src/gpu/GrSWMaskHelper.cpp |
@@ -189,10 +189,10 @@ void GrSWMaskHelper::DrawToTargetWithPathMask(GrTexture* texture, |
pipelineBuilder.setUserStencil(userStencilSettings); |
pipelineBuilder.addCoverageFragmentProcessor( |
- GrSimpleTextureEffect::Create(texture, |
- maskMatrix, |
- GrTextureParams::kNone_FilterMode, |
- kDevice_GrCoordSet))->unref(); |
+ GrSimpleTextureEffect::Make(texture, |
+ maskMatrix, |
+ GrTextureParams::kNone_FilterMode, |
+ kDevice_GrCoordSet)); |
SkAutoTUnref<GrDrawBatch> batch(GrRectBatchFactory::CreateNonAAFill(color, SkMatrix::I(), |
dstRect, nullptr, &invert)); |