Index: tests/SpecialImageTest.cpp |
diff --git a/tests/SpecialImageTest.cpp b/tests/SpecialImageTest.cpp |
index 770810a1c8c9d7e53187cc5a73355dcf408e4ce7..f16f5ff84c26c5d7eba653d0fe4e6d051a901c29 100644 |
--- a/tests/SpecialImageTest.cpp |
+++ b/tests/SpecialImageTest.cpp |
@@ -203,7 +203,8 @@ static void test_texture_backed(skiatest::Reporter* reporter, |
} |
// Test out the SkSpecialImage::makeTextureImage entry point |
-DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SpecialImage_MakeTexture, reporter, context) { |
+DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SpecialImage_MakeTexture, reporter, ctxInfo) { |
+ GrContext* context = ctxInfo.fGrContext; |
SkBitmap bm = create_bm(); |
const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); |
@@ -266,7 +267,8 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SpecialImage_MakeTexture, reporter, context) |
} |
} |
-DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SpecialImage_Gpu, reporter, context) { |
+DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SpecialImage_Gpu, reporter, ctxInfo) { |
+ GrContext* context = ctxInfo.fGrContext; |
SkBitmap bm = create_bm(); |
GrSurfaceDesc desc; |