Index: tests/CopySurfaceTest.cpp |
diff --git a/tests/CopySurfaceTest.cpp b/tests/CopySurfaceTest.cpp |
index af58bf9e5c73acef25ea52910aa92346bca1aa82..540d013c60dc2d34ffbdc698e1366c11e1845fef 100644 |
--- a/tests/CopySurfaceTest.cpp |
+++ b/tests/CopySurfaceTest.cpp |
@@ -16,7 +16,7 @@ |
#include "SkUtils.h" |
DEF_GPUTEST_FOR_RENDERING_CONTEXTS(CopySurface, 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; |