Index: tests/SRGBReadWritePixelsTest.cpp |
diff --git a/tests/SRGBReadWritePixelsTest.cpp b/tests/SRGBReadWritePixelsTest.cpp |
index a652e94bfcf31f4a21ac14fe647283e0e4db10a7..fdaa587de73cf0ee7e686f1d7085a2e3f43af131 100644 |
--- a/tests/SRGBReadWritePixelsTest.cpp |
+++ b/tests/SRGBReadWritePixelsTest.cpp |
@@ -139,7 +139,7 @@ void read_and_check_pixels(skiatest::Reporter* reporter, GrTexture* texture, uin |
// TODO: Add tests for copySurface between srgb/linear textures. Add tests for unpremul/premul |
// conversion during read/write along with srgb/linear conversions. |
DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(SRGBReadWritePixels, reporter, ctxInfo) { |
- GrContext* context = ctxInfo.fGrContext; |
+ GrContext* context = ctxInfo.grContext(); |
#if defined(GOOGLE3) |
// Stack frame size is limited in GOOGLE3. |
static const int kW = 63; |