Index: src/gpu/GrClipMaskManager.cpp |
diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp |
index 945d6bee83e0c1d67a5ec5d9f93366d237ababd3..15677fc18d9debe4347225fd266f4401b40a3799 100644 |
--- a/src/gpu/GrClipMaskManager.cpp |
+++ b/src/gpu/GrClipMaskManager.cpp |
@@ -496,7 +496,8 @@ GrTexture* GrClipMaskManager::createTempMask(int width, int height) { |
desc.fConfig = kRGBA_8888_GrPixelConfig; |
} |
- return this->getContext()->refScratchTexture(desc, GrContext::kApprox_ScratchTexMatch); |
+ return this->getContext()->textureProvider()->refScratchTexture( |
+ desc, GrTextureProvider::kApprox_ScratchTexMatch); |
} |
//////////////////////////////////////////////////////////////////////////////// |