| Index: src/effects/SkGpuBlurUtils.cpp
|
| diff --git a/src/effects/SkGpuBlurUtils.cpp b/src/effects/SkGpuBlurUtils.cpp
|
| index 832e48a4e0247d98b614a2495d7338da668463d3..6cb349e13686001a75c77655dc325b978de91877 100644
|
| --- a/src/effects/SkGpuBlurUtils.cpp
|
| +++ b/src/effects/SkGpuBlurUtils.cpp
|
| @@ -180,12 +180,14 @@ GrTexture* GaussianBlur(GrContext* context,
|
| GrTexture* tempTexture;
|
| SkAutoTUnref<GrTexture> temp1, temp2;
|
|
|
| - temp1.reset(context->refScratchTexture(desc, GrContext::kApprox_ScratchTexMatch));
|
| + temp1.reset(context->textureProvider()->refScratchTexture(
|
| + desc, GrTextureProvider::kApprox_ScratchTexMatch));
|
| dstTexture = temp1.get();
|
| if (canClobberSrc) {
|
| tempTexture = srcTexture;
|
| } else {
|
| - temp2.reset(context->refScratchTexture(desc, GrContext::kApprox_ScratchTexMatch));
|
| + temp2.reset(context->textureProvider()->refScratchTexture(
|
| + desc, GrTextureProvider::kApprox_ScratchTexMatch));
|
| tempTexture = temp2.get();
|
| }
|
|
|
|
|