| Index: tests/ImageNewShaderTest.cpp
|
| diff --git a/tests/ImageNewShaderTest.cpp b/tests/ImageNewShaderTest.cpp
|
| index 4ae0b6de8e58f76a03429bc5557777052e6b1894..164f11898ea804be4d476cc0e16f06740f34f6d7 100644
|
| --- a/tests/ImageNewShaderTest.cpp
|
| +++ b/tests/ImageNewShaderTest.cpp
|
| @@ -139,15 +139,15 @@ void rasterToGpu(skiatest::Reporter* reporter, GrContext* context) {
|
| runShaderTest(reporter, sourceSurface.get(), destinationSurface.get(), info);
|
| }
|
|
|
| -DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ImageNewShader_GPU, reporter, context) {
|
| +DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ImageNewShader_GPU, reporter, ctxInfo) {
|
| // GPU -> GPU
|
| - gpuToGpu(reporter, context);
|
| + gpuToGpu(reporter, ctxInfo.fGrContext);
|
|
|
| // GPU -> RASTER
|
| - gpuToRaster(reporter, context);
|
| + gpuToRaster(reporter, ctxInfo.fGrContext);
|
|
|
| // RASTER -> GPU
|
| - rasterToGpu(reporter, context);
|
| + rasterToGpu(reporter, ctxInfo.fGrContext);
|
| }
|
|
|
| #endif
|
|
|