Index: src/gpu/GrSWMaskHelper.cpp |
diff --git a/src/gpu/GrSWMaskHelper.cpp b/src/gpu/GrSWMaskHelper.cpp |
index 2cf56d63d633eb956144abcb1fbffb626fb353cc..fc34591fcd30422e5a3a99cb6ef3648e55d547ab 100644 |
--- a/src/gpu/GrSWMaskHelper.cpp |
+++ b/src/gpu/GrSWMaskHelper.cpp |
@@ -187,8 +187,8 @@ void GrSWMaskHelper::DrawToTargetWithPathMask(GrTexture* texture, |
const GrIRect& rect) { |
GrDrawState* drawState = target->drawState(); |
- GrDrawState::AutoDeviceCoordDraw adcd(drawState); |
- if (!adcd.succeeded()) { |
+ GrDrawState::AutoViewMatrixRestore avmr; |
+ if (!avmr.setIdentity(drawState)) { |
return; |
} |
enum { |