Index: gm/texdata.cpp |
diff --git a/gm/texdata.cpp b/gm/texdata.cpp |
index 88dbce9dc4e471ad72148942cf442f5b7b1b0f75..dff2944bdbeae900417f89a7c599c6bcf8987d7b 100644 |
--- a/gm/texdata.cpp |
+++ b/gm/texdata.cpp |
@@ -84,7 +84,8 @@ protected: |
desc.fConfig = kSkia8888_GrPixelConfig; |
desc.fWidth = 2 * S; |
desc.fHeight = 2 * S; |
- GrTexture* texture = ctx->createTexture(desc, false, gTextureData.get(), 0); |
+ GrTexture* texture = ctx->textureProvider()->createTexture( |
+ desc, false, gTextureData.get(), 0); |
if (!texture) { |
return; |