Index: src/gpu/GrGpu.cpp |
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp |
index 65100489f4b7ad01c94b83734440334bdd46a65d..221aaec0702b6b3b262dd3bd7ef004362b9e7e97 100644 |
--- a/src/gpu/GrGpu.cpp |
+++ b/src/gpu/GrGpu.cpp |
@@ -298,10 +298,12 @@ const GrIndexBuffer* GrGpu::getQuadIndexBuffer() const { |
//////////////////////////////////////////////////////////////////////////////// |
-bool GrGpu::setupClipAndFlushState(DrawType type, const GrDeviceCoordTexture* dstCopy, |
+bool GrGpu::setupClipAndFlushState(DrawType type, |
+ const GrDeviceCoordTexture* dstCopy, |
GrDrawState::AutoRestoreEffects* are, |
const SkRect* devBounds) { |
- if (!fClipMaskManager.setupClipping(this->getClip(), are, devBounds)) { |
+ GrDrawState::AutoRestoreStencil asr; |
+ if (!fClipMaskManager.setupClipping(this->getClip(), are, &asr, devBounds)) { |
return false; |
} |