Index: tests/ClearTest.cpp |
diff --git a/tests/ClearTest.cpp b/tests/ClearTest.cpp |
index 25fcf8584999fa27bbd84b57246aebed69eacd2c..56f2fe17bed31b9a145931c997269e033369af07 100644 |
--- a/tests/ClearTest.cpp |
+++ b/tests/ClearTest.cpp |
@@ -65,7 +65,8 @@ static bool reset_dc(SkAutoTUnref<GrDrawContext>* dc, SkAutoTUnref<GrSurface>* r |
return *dc != nullptr; |
} |
-DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ClearBatch, reporter, context) { |
+DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ClearBatch, reporter, ctxInfo) { |
+ GrContext* context = ctxInfo.fGrContext; |
static const int kW = 10; |
static const int kH = 10; |