Index: tests/ReadPixelsTest.cpp |
diff --git a/tests/ReadPixelsTest.cpp b/tests/ReadPixelsTest.cpp |
index cead36f0d99f57208d61fce45e6b0cb386a31dd5..a45e9ee9cdfe5f71eaf08a3e09a2dd6b148844f2 100644 |
--- a/tests/ReadPixelsTest.cpp |
+++ b/tests/ReadPixelsTest.cpp |
@@ -318,7 +318,8 @@ DEF_GPUTEST(ReadPixels, reporter, factory) { |
desc.fHeight = DEV_H; |
desc.fConfig = kSkia8888_GrPixelConfig; |
desc.fOrigin = 1 == dtype ? kBottomLeft_GrSurfaceOrigin : kTopLeft_GrSurfaceOrigin; |
- SkAutoTUnref<GrTexture> texture(context->createTexture(desc, false)); |
+ SkAutoTUnref<GrTexture> texture( |
+ context->textureProvider()->createTexture(desc, false)); |
surface.reset(SkSurface::NewRenderTargetDirect(texture->asRenderTarget())); |
#else |
continue; |