Index: src/effects/SkAlphaThresholdFilter.cpp |
diff --git a/src/effects/SkAlphaThresholdFilter.cpp b/src/effects/SkAlphaThresholdFilter.cpp |
index c9d72bb67305dff45d7d3591bf667333bd1a5865..dda265d8bf6a27547ef17e1d98e2b18660752370 100644 |
--- a/src/effects/SkAlphaThresholdFilter.cpp |
+++ b/src/effects/SkAlphaThresholdFilter.cpp |
@@ -273,8 +273,8 @@ bool SkAlphaThresholdFilterImpl::asFragmentProcessor(GrFragmentProcessor** fp, |
// the outside. |
maskDesc.fWidth = texture->width(); |
maskDesc.fHeight = texture->height(); |
- SkAutoTUnref<GrTexture> maskTexture(context->textureProvider()->refScratchTexture( |
- maskDesc, GrTextureProvider::kApprox_ScratchTexMatch)); |
+ SkAutoTUnref<GrTexture> maskTexture( |
+ context->textureProvider()->createApproxTexture(maskDesc)); |
if (!maskTexture) { |
return false; |
} |