Index: src/gpu/GrClipMaskCache.h |
diff --git a/src/gpu/GrClipMaskCache.h b/src/gpu/GrClipMaskCache.h |
index 0329c840a8eafe649548151e9566d6535c7c200e..3aa80df04d6cec56dca18db323f89ae3fb4a02ca 100644 |
--- a/src/gpu/GrClipMaskCache.h |
+++ b/src/gpu/GrClipMaskCache.h |
@@ -206,8 +206,8 @@ private: |
// HACK: set the last param to true to indicate that this request is at |
// flush time and therefore we require a scratch texture with no pending IO operations. |
- fLastMask.reset(context->refScratchTexture(desc, GrContext::kApprox_ScratchTexMatch, |
- /*flushing=*/true)); |
+ fLastMask.reset(context->textureProvider()->refScratchTexture( |
+ desc, GrTextureProvider::kApprox_ScratchTexMatch, /*flushing=*/true)); |
fLastBound = bound; |
} |