Index: tests/ApplyGammaTest.cpp |
diff --git a/tests/ApplyGammaTest.cpp b/tests/ApplyGammaTest.cpp |
index dd79b879b5bd7f29f689a44903fbac53ec80270e..5872422f418497d4c739b069e02c822a729d6c4b 100644 |
--- a/tests/ApplyGammaTest.cpp |
+++ b/tests/ApplyGammaTest.cpp |
@@ -68,7 +68,7 @@ bool check_gamma(uint32_t src, uint32_t dst, float gamma, float error, uint32_t* |
} |
DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ApplyGamma, reporter, ctxInfo) { |
- GrContext* context = ctxInfo.fGrContext; |
+ GrContext* context = ctxInfo.grContext(); |
static const int kW = 10; |
static const int kH = 10; |
static const size_t kRowBytes = sizeof(uint32_t) * kW; |