| Index: src/effects/SkLightingImageFilter.cpp
|
| diff --git a/src/effects/SkLightingImageFilter.cpp b/src/effects/SkLightingImageFilter.cpp
|
| index ed1e2d1f809ff1b07fc25201470438d20ffa7254..39bd6c88a1d60313e3fc64d285b5103d27260ad7 100644
|
| --- a/src/effects/SkLightingImageFilter.cpp
|
| +++ b/src/effects/SkLightingImageFilter.cpp
|
| @@ -365,8 +365,8 @@ bool SkLightingImageFilterInternal::filterImageGPU(Proxy* proxy,
|
| desc.fHeight = bounds.height();
|
| desc.fConfig = kRGBA_8888_GrPixelConfig;
|
|
|
| - SkAutoTUnref<GrTexture> dst(
|
| - context->refScratchTexture(desc, GrContext::kApprox_ScratchTexMatch));
|
| + SkAutoTUnref<GrTexture> dst(context->textureProvider()->refScratchTexture(desc,
|
| + GrTextureProvider::kApprox_ScratchTexMatch));
|
| if (!dst) {
|
| return false;
|
| }
|
|
|