Index: src/gpu/SkGrPixelRef.cpp |
diff --git a/src/gpu/SkGrPixelRef.cpp b/src/gpu/SkGrPixelRef.cpp |
index 01444af705d8d0ec69023ec05a02e14623e914a0..3fa049166b7af588cbf8ec9a04d3b0e718d50ee4 100644 |
--- a/src/gpu/SkGrPixelRef.cpp |
+++ b/src/gpu/SkGrPixelRef.cpp |
@@ -80,7 +80,7 @@ static SkGrPixelRef* copy_to_new_texture_pixelref(GrTexture* texture, SkColorTyp |
desc.fFlags = kRenderTarget_GrSurfaceFlag; |
desc.fConfig = SkImageInfo2GrPixelConfig(dstCT, kPremul_SkAlphaType, dstPT); |
- GrTexture* dst = context->createTexture(desc, false, NULL, 0); |
+ GrTexture* dst = context->textureProvider()->createTexture(desc, false, NULL, 0); |
if (NULL == dst) { |
return NULL; |
} |