Turn ContextInfos returned by GrContextFactory into structs.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1966013002

Review-Url: https://codereview.chromium.org/1966013002
diff --git a/tests/TestTest.cpp b/tests/TestTest.cpp
index 5e5000e..27ec163 100644
--- a/tests/TestTest.cpp
+++ b/tests/TestTest.cpp
@@ -31,7 +31,7 @@
 #if SK_SUPPORT_GPU
 DEF_GPUTEST_FOR_ALL_GL_CONTEXTS(TestGpuAllContexts, reporter, ctxInfo) {
     REPORTER_ASSERT(reporter, reporter);
-    REPORTER_ASSERT(reporter, ctxInfo.fGrContext);
+    REPORTER_ASSERT(reporter, ctxInfo.grContext());
 }
 #endif
 
@@ -40,7 +40,7 @@
 #if SK_SUPPORT_GPU
 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(TestGpuRenderingContexts, reporter, ctxInfo) {
     REPORTER_ASSERT(reporter, reporter);
-    REPORTER_ASSERT(reporter, ctxInfo.fGrContext);
+    REPORTER_ASSERT(reporter, ctxInfo.grContext());
 }
 #endif
 
@@ -49,6 +49,6 @@
 #if SK_SUPPORT_GPU
 DEF_GPUTEST_FOR_NULLGL_CONTEXT(TestGpuNullContext, reporter, ctxInfo) {
     REPORTER_ASSERT(reporter, reporter);
-    REPORTER_ASSERT(reporter, ctxInfo.fGrContext);
+    REPORTER_ASSERT(reporter, ctxInfo.grContext());
 }
 #endif