Index: src/gpu/GrSoftwarePathRenderer.cpp |
diff --git a/src/gpu/GrSoftwarePathRenderer.cpp b/src/gpu/GrSoftwarePathRenderer.cpp |
index 36bdcff9eaf13553769bc4d3c6f30fa7b06a8303..21adc625dd2f7691f0706191f3a3ccad81b62889 100644 |
--- a/src/gpu/GrSoftwarePathRenderer.cpp |
+++ b/src/gpu/GrSoftwarePathRenderer.cpp |
@@ -82,8 +82,8 @@ bool get_path_and_clip_bounds(const GrDrawTarget* target, |
void draw_around_inv_path(GrDrawTarget* target, |
const GrIRect& devClipBounds, |
const GrIRect& devPathBounds) { |
- GrDrawState::AutoDeviceCoordDraw adcd(target->drawState()); |
- if (!adcd.succeeded()) { |
+ GrDrawState::AutoViewMatrixRestore avmr; |
+ if (!avmr.setIdentity(target->drawState())) { |
return; |
} |
GrRect rect; |