| Index: src/gpu/GrBlurUtils.cpp
|
| diff --git a/src/gpu/GrBlurUtils.cpp b/src/gpu/GrBlurUtils.cpp
|
| index 733d1e6ece8bf8927b9515e6ff39774005e0fb95..6013b58bcfdef0bed0ac3070d53bdce5564d0d03 100644
|
| --- a/src/gpu/GrBlurUtils.cpp
|
| +++ b/src/gpu/GrBlurUtils.cpp
|
| @@ -83,8 +83,7 @@ static bool draw_with_mask_filter(GrDrawContext* drawContext,
|
| desc.fHeight = dstM.fBounds.height();
|
| desc.fConfig = kAlpha_8_GrPixelConfig;
|
|
|
| - SkAutoTUnref<GrTexture> texture(textureProvider->refScratchTexture(
|
| - desc, GrTextureProvider::kApprox_ScratchTexMatch));
|
| + SkAutoTUnref<GrTexture> texture(textureProvider->createApproxTexture(desc));
|
| if (!texture) {
|
| return false;
|
| }
|
| @@ -116,8 +115,7 @@ static GrTexture* create_mask_GPU(GrContext* context,
|
| desc.fConfig = kAlpha_8_GrPixelConfig;
|
| }
|
|
|
| - GrTexture* mask = context->textureProvider()->refScratchTexture(
|
| - desc, GrTextureProvider::kApprox_ScratchTexMatch);
|
| + GrTexture* mask = context->textureProvider()->createApproxTexture(desc);
|
| if (NULL == mask) {
|
| return NULL;
|
| }
|
|
|