Index: src/effects/SkXfermodeImageFilter.cpp |
diff --git a/src/effects/SkXfermodeImageFilter.cpp b/src/effects/SkXfermodeImageFilter.cpp |
index b45a4225d17101a14c43b236752a4416c2051e60..dc61b4e76ec5817bca9d66a22fe6be884cb7e2cb 100644 |
--- a/src/effects/SkXfermodeImageFilter.cpp |
+++ b/src/effects/SkXfermodeImageFilter.cpp |
@@ -160,8 +160,7 @@ bool SkXfermodeImageFilter::filterImageGPU(Proxy* proxy, |
desc.fWidth = src.width(); |
desc.fHeight = src.height(); |
desc.fConfig = kSkia8888_GrPixelConfig; |
- SkAutoTUnref<GrTexture> dst(context->textureProvider()->refScratchTexture( |
- desc, GrTextureProvider::kApprox_ScratchTexMatch)); |
+ SkAutoTUnref<GrTexture> dst(context->textureProvider()->createApproxTexture(desc)); |
if (!dst) { |
return false; |
} |