Index: tests/SurfaceTest.cpp |
diff --git a/tests/SurfaceTest.cpp b/tests/SurfaceTest.cpp |
index a7c6460508cce3161a8ab2793861549b11f9478a..23a7f94f246f10e9cec299ed78565b6996c56ae4 100644 |
--- a/tests/SurfaceTest.cpp |
+++ b/tests/SurfaceTest.cpp |
@@ -104,7 +104,7 @@ static void test_wrapped_texture_surface(skiatest::Reporter* reporter, GrContext |
texDesc.fWidth = texDesc.fHeight = 100; |
texDesc.fSampleCnt = 0; |
texDesc.fOrigin = kTopLeft_GrSurfaceOrigin; |
- SkAutoTUnref<GrSurface> dummySurface(ctx->createTexture(texDesc, false)); |
+ SkAutoTUnref<GrSurface> dummySurface(ctx->textureProvider()->createTexture(texDesc, false)); |
REPORTER_ASSERT(reporter, dummySurface && dummySurface->asTexture() && |
dummySurface->asRenderTarget()); |