Index: src/image/SkSurface_Gpu.cpp |
diff --git a/src/image/SkSurface_Gpu.cpp b/src/image/SkSurface_Gpu.cpp |
index ac2f7fe25ed15d2b1a0c0654755409d856e59cf5..8788e08cd4ee649abe53f0ae695a8357a2036549 100644 |
--- a/src/image/SkSurface_Gpu.cpp |
+++ b/src/image/SkSurface_Gpu.cpp |
@@ -107,7 +107,7 @@ SkSurface* SkSurface::NewWrappedRenderTarget(GrContext* context, GrBackendTextur |
if (!SkToBool(desc.fFlags & kRenderTarget_GrBackendTextureFlag)) { |
return NULL; |
} |
- SkAutoTUnref<GrSurface> surface(context->wrapBackendTexture(desc)); |
+ SkAutoTUnref<GrSurface> surface(context->textureProvider()->wrapBackendTexture(desc)); |
if (!surface) { |
return NULL; |
} |