Index: src/gpu/GrDefaultPathRenderer.cpp |
diff --git a/src/gpu/GrDefaultPathRenderer.cpp b/src/gpu/GrDefaultPathRenderer.cpp |
index 87deb9c4068c418a7c0ab5bac4a64b9504dea3be..13bfe9233ffe18892c55ebd0e36179b24baa3eef 100644 |
--- a/src/gpu/GrDefaultPathRenderer.cpp |
+++ b/src/gpu/GrDefaultPathRenderer.cpp |
@@ -459,7 +459,7 @@ bool GrDefaultPathRenderer::internalDrawPath(const SkPath& path, |
drawState->disableState(GrDrawState::kNoColorWrites_StateBit); |
} |
GrRect bounds; |
- GrDrawState::AutoDeviceCoordDraw adcd; |
+ GrDrawState::AutoViewMatrixRestore avmr; |
if (reverse) { |
GrAssert(NULL != drawState->getRenderTarget()); |
// draw over the dev bounds (which will be the whole dst surface for inv fill). |
@@ -470,7 +470,7 @@ bool GrDefaultPathRenderer::internalDrawPath(const SkPath& path, |
drawState->getViewInverse(&vmi)) { |
vmi.mapRect(&bounds); |
} else { |
- adcd.set(drawState); |
+ avmr.setIdentity(drawState); |
} |
} else { |
bounds = path.getBounds(); |