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