| Index: src/gpu/GrStencilAndCoverPathRenderer.cpp
|
| diff --git a/src/gpu/GrStencilAndCoverPathRenderer.cpp b/src/gpu/GrStencilAndCoverPathRenderer.cpp
|
| index fa875995505b61ea6716b4288ef3e8b0ff6701c1..4f88acf418f6dec471539bf1e95d9c73a0862f26 100644
|
| --- a/src/gpu/GrStencilAndCoverPathRenderer.cpp
|
| +++ b/src/gpu/GrStencilAndCoverPathRenderer.cpp
|
| @@ -79,7 +79,7 @@ bool GrStencilAndCoverPathRenderer::onDrawPath(const SkPath& path,
|
| // fill the path, zero out the stencil
|
| GrRect bounds = p->getBounds();
|
| SkScalar bloat = drawState->getViewMatrix().getMaxStretch() * SK_ScalarHalf;
|
| - GrDrawState::AutoDeviceCoordDraw adcd;
|
| + GrDrawState::AutoViewMatrixRestore avmr;
|
|
|
| if (nonInvertedFill == path.getFillType()) {
|
| GR_STATIC_CONST_SAME_STENCIL(kStencilPass,
|
| @@ -111,7 +111,7 @@ bool GrStencilAndCoverPathRenderer::onDrawPath(const SkPath& path,
|
| // theoretically could set bloat = 0, instead leave it because of matrix inversion
|
| // precision.
|
| } else {
|
| - adcd.set(drawState);
|
| + avmr.setIdentity(drawState);
|
| bloat = 0;
|
| }
|
| *drawState->stencil() = kInvertedStencilPass;
|
|
|