| Index: src/gpu/GrSWMaskHelper.cpp
|
| diff --git a/src/gpu/GrSWMaskHelper.cpp b/src/gpu/GrSWMaskHelper.cpp
|
| index b96626478931099035df009fad2e9fe1cd0b6d8b..66d60ab956f0e9902ee52f5aff43a3d4cf61a41b 100644
|
| --- a/src/gpu/GrSWMaskHelper.cpp
|
| +++ b/src/gpu/GrSWMaskHelper.cpp
|
| @@ -160,7 +160,7 @@ GrTexture* GrSWMaskHelper::DrawShapeMaskToTexture(GrTextureProvider* texProvider
|
| void GrSWMaskHelper::DrawToTargetWithShapeMask(GrTexture* texture,
|
| GrDrawContext* drawContext,
|
| const GrPaint& paint,
|
| - const GrUserStencilSettings* userStencilSettings,
|
| + const GrUserStencilSettings& userStencilSettings,
|
| const GrClip& clip,
|
| const SkMatrix& viewMatrix,
|
| const SkIRect& rect) {
|
| @@ -182,7 +182,7 @@ void GrSWMaskHelper::DrawToTargetWithShapeMask(GrTexture* texture,
|
| maskMatrix.preTranslate(SkIntToScalar(-rect.fLeft), SkIntToScalar(-rect.fTop));
|
|
|
| GrPipelineBuilder pipelineBuilder(paint, drawContext->mustUseHWAA(paint));
|
| - pipelineBuilder.setUserStencil(userStencilSettings);
|
| + pipelineBuilder.setUserStencil(&userStencilSettings);
|
|
|
| pipelineBuilder.addCoverageFragmentProcessor(
|
| GrSimpleTextureEffect::Make(texture,
|
|
|