Index: tests/TessellatingPathRendererTests.cpp |
diff --git a/tests/TessellatingPathRendererTests.cpp b/tests/TessellatingPathRendererTests.cpp |
index 6cf2a938dc7258e3a2f77f8379c68b4ea95f7a76..32973ee1c8883c566692aa5a8813265bbdc71698 100644 |
--- a/tests/TessellatingPathRendererTests.cpp |
+++ b/tests/TessellatingPathRendererTests.cpp |
@@ -252,17 +252,18 @@ static void test_path(GrDrawTarget* dt, GrRenderTarget* rt, GrResourceProvider* |
tess.drawPath(args); |
} |
-DEF_GPUTEST_FOR_ALL_CONTEXTS(TessellatingPathRendererTests, reporter, context) { |
+DEF_GPUTEST_FOR_ALL_CONTEXTS(TessellatingPathRendererTests, reporter, ctxInfo) { |
GrSurfaceDesc desc; |
desc.fFlags = kRenderTarget_GrSurfaceFlag; |
desc.fWidth = 800; |
desc.fHeight = 800; |
desc.fConfig = kSkia8888_GrPixelConfig; |
desc.fOrigin = kTopLeft_GrSurfaceOrigin; |
- SkAutoTUnref<GrTexture> texture(context->textureProvider()->createApproxTexture(desc)); |
+ SkAutoTUnref<GrTexture> texture( |
+ ctxInfo.fGrContext->textureProvider()->createApproxTexture(desc)); |
GrTestTarget tt; |
GrRenderTarget* rt = texture->asRenderTarget(); |
- context->getTestTarget(&tt, rt); |
+ ctxInfo.fGrContext->getTestTarget(&tt, rt); |
GrDrawTarget* dt = tt.target(); |
GrResourceProvider* rp = tt.resourceProvider(); |