Index: src/gpu/effects/GrConfigConversionEffect.cpp |
diff --git a/src/gpu/effects/GrConfigConversionEffect.cpp b/src/gpu/effects/GrConfigConversionEffect.cpp |
index 8cf9bb6fa6a1243d29975b4007f9348cadc614e6..8b75a884c08540b52e6dba0abf48689848814bc4 100644 |
--- a/src/gpu/effects/GrConfigConversionEffect.cpp |
+++ b/src/gpu/effects/GrConfigConversionEffect.cpp |
@@ -186,16 +186,16 @@ void GrConfigConversionEffect::TestForPreservingPMConversions(GrContext* context |
desc.fHeight = 256; |
desc.fConfig = kRGBA_8888_GrPixelConfig; |
- SkAutoTUnref<GrTexture> readTex(context->createTexture(desc, true, NULL, 0)); |
+ SkAutoTUnref<GrTexture> readTex(context->textureProvider()->createTexture(desc, true, NULL, 0)); |
if (!readTex.get()) { |
return; |
} |
- SkAutoTUnref<GrTexture> tempTex(context->createTexture(desc, true, NULL, 0)); |
+ SkAutoTUnref<GrTexture> tempTex(context->textureProvider()->createTexture(desc, true, NULL, 0)); |
if (!tempTex.get()) { |
return; |
} |
desc.fFlags = kNone_GrSurfaceFlags; |
- SkAutoTUnref<GrTexture> dataTex(context->createTexture(desc, true, data, 0)); |
+ SkAutoTUnref<GrTexture> dataTex(context->textureProvider()->createTexture(desc, true, data, 0)); |
if (!dataTex.get()) { |
return; |
} |