Index: tests/ImageIsOpaqueTest.cpp |
diff --git a/tests/ImageIsOpaqueTest.cpp b/tests/ImageIsOpaqueTest.cpp |
index 95a9d59aede7af749a6b75042e7cc798daf40922..d513e89ad27025d7d1a20700dbe354af83be8ec2 100644 |
--- a/tests/ImageIsOpaqueTest.cpp |
+++ b/tests/ImageIsOpaqueTest.cpp |
@@ -67,7 +67,7 @@ DEF_TEST(ImageIsOpaqueTest, reporter) { |
#if SK_SUPPORT_GPU |
DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(ImageIsOpaqueTest_Gpu, reporter, ctxInfo) { |
- GrContext* context = ctxInfo.fGrContext; |
+ GrContext* context = ctxInfo.grContext(); |
SkImageInfo infoTransparent = SkImageInfo::MakeN32Premul(5, 5); |
auto surfaceTransparent(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, infoTransparent)); |
check_isopaque(reporter, surfaceTransparent, false); |