Index: src/gpu/GrClipMaskManager.cpp |
diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp |
index 73637d88b45b76fd563c036a2c17d529d8f4e929..3363795108fd721aec12fa66595f17c85e176b47 100644 |
--- a/src/gpu/GrClipMaskManager.cpp |
+++ b/src/gpu/GrClipMaskManager.cpp |
@@ -514,8 +514,7 @@ GrTexture* GrClipMaskManager::createTempMask(int width, int height) { |
desc.fConfig = kRGBA_8888_GrPixelConfig; |
} |
- return this->getContext()->textureProvider()->refScratchTexture( |
- desc, GrTextureProvider::kApprox_ScratchTexMatch); |
+ return this->getContext()->textureProvider()->createApproxTexture(desc); |
} |
//////////////////////////////////////////////////////////////////////////////// |