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