| Index: src/gpu/GrSWMaskHelper.cpp
|
| diff --git a/src/gpu/GrSWMaskHelper.cpp b/src/gpu/GrSWMaskHelper.cpp
|
| index 2a2e161adbc5e2fb56baf1c322d57a061d665e2b..590a0401334e9cfe875e5b09efe2a24d384746dc 100644
|
| --- a/src/gpu/GrSWMaskHelper.cpp
|
| +++ b/src/gpu/GrSWMaskHelper.cpp
|
| @@ -347,9 +347,8 @@ GrTexture* GrSWMaskHelper::DrawPathMaskToTexture(GrContext* context,
|
|
|
| void GrSWMaskHelper::DrawToTargetWithPathMask(GrTexture* texture,
|
| GrDrawTarget* target,
|
| + GrDrawState* drawState,
|
| const SkIRect& rect) {
|
| - GrDrawState* drawState = target->drawState();
|
| -
|
| GrDrawState::AutoViewMatrixRestore avmr;
|
| if (!avmr.setIdentity(drawState)) {
|
| return;
|
| @@ -376,5 +375,5 @@ void GrSWMaskHelper::DrawToTargetWithPathMask(GrTexture* texture,
|
| GrTextureParams::kNone_FilterMode,
|
| kPosition_GrCoordSet))->unref();
|
|
|
| - target->drawSimpleRect(dstRect);
|
| + target->drawSimpleRect(drawState, dstRect);
|
| }
|
|
|