| Index: src/gpu/GrAAHairLinePathRenderer.cpp
|
| diff --git a/src/gpu/GrAAHairLinePathRenderer.cpp b/src/gpu/GrAAHairLinePathRenderer.cpp
|
| index 8e3ec5b02e9e433b966f4fc00dc10b8112f244c6..5f92276e36579a1d092411f5c08dee7256111cc8 100644
|
| --- a/src/gpu/GrAAHairLinePathRenderer.cpp
|
| +++ b/src/gpu/GrAAHairLinePathRenderer.cpp
|
| @@ -808,12 +808,11 @@ bool GrAAHairLinePathRenderer::onDrawPath(const SkPath& path,
|
| GrDrawTarget::AutoStateRestore asr(target, GrDrawTarget::kPreserve_ASRInit);
|
| GrDrawState* drawState = target->drawState();
|
|
|
| - GrDrawState::AutoDeviceCoordDraw adcd;
|
| + GrDrawState::AutoViewMatrixRestore avmr;
|
| // createGeom transforms the geometry to device space when the matrix does not have
|
| // perspective.
|
| if (!drawState->getViewMatrix().hasPerspective()) {
|
| - adcd.set(drawState);
|
| - if (!adcd.succeeded()) {
|
| + if (!avmr.setIdentity(drawState)) {
|
| return false;
|
| }
|
| }
|
|
|