Index: src/effects/SkDisplacementMapEffect.cpp |
diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp |
index a7fcbbe054a99962bb430495cb29a4110844e7ac..6f0911ce68381d519226fc5dd512a64ba0bcc75e 100644 |
--- a/src/effects/SkDisplacementMapEffect.cpp |
+++ b/src/effects/SkDisplacementMapEffect.cpp |
@@ -429,8 +429,8 @@ bool SkDisplacementMapEffect::filterImageGPU(Proxy* proxy, const SkBitmap& src, |
desc.fHeight = bounds.height(); |
desc.fConfig = kSkia8888_GrPixelConfig; |
- SkAutoTUnref<GrTexture> dst( |
- context->refScratchTexture(desc, GrContext::kApprox_ScratchTexMatch)); |
+ SkAutoTUnref<GrTexture> dst(context->textureProvider()->refScratchTexture(desc, |
+ GrTextureProvider::kApprox_ScratchTexMatch)); |
if (!dst) { |
return false; |