| Index: src/effects/SkMorphologyImageFilter.cpp
|
| diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp
|
| index 30ba25159d27b00bc454e67f36f960e77e01b1fa..20f76c1d935aaf090215b72a78d93f141b40aad3 100644
|
| --- a/src/effects/SkMorphologyImageFilter.cpp
|
| +++ b/src/effects/SkMorphologyImageFilter.cpp
|
| @@ -662,8 +662,7 @@ bool apply_morphology(const SkBitmap& input,
|
| SkIRect srcRect = rect;
|
|
|
| if (radius.fWidth > 0) {
|
| - GrTexture* scratch = context->textureProvider()->refScratchTexture(
|
| - desc, GrTextureProvider::kApprox_ScratchTexMatch);
|
| + GrTexture* scratch = context->textureProvider()->createApproxTexture(desc);
|
| if (NULL == scratch) {
|
| return false;
|
| }
|
| @@ -686,8 +685,7 @@ bool apply_morphology(const SkBitmap& input,
|
| srcRect = dstRect;
|
| }
|
| if (radius.fHeight > 0) {
|
| - GrTexture* scratch = context->textureProvider()->refScratchTexture(desc,
|
| - GrTextureProvider::kApprox_ScratchTexMatch);
|
| + GrTexture* scratch = context->textureProvider()->createApproxTexture(desc);
|
| if (NULL == scratch) {
|
| return false;
|
| }
|
|
|