Index: tests/CopySurfaceTest.cpp |
diff --git a/tests/CopySurfaceTest.cpp b/tests/CopySurfaceTest.cpp |
index 3740f6e87c8d3b0dbad1e6c3b58c02ca0f74b146..af58bf9e5c73acef25ea52910aa92346bca1aa82 100644 |
--- a/tests/CopySurfaceTest.cpp |
+++ b/tests/CopySurfaceTest.cpp |
@@ -15,7 +15,8 @@ |
#include "SkUtils.h" |
-DEF_GPUTEST_FOR_RENDERING_CONTEXTS(CopySurface, reporter, context) { |
+DEF_GPUTEST_FOR_RENDERING_CONTEXTS(CopySurface, reporter, ctxInfo) { |
+ GrContext* context = ctxInfo.fGrContext; |
static const int kW = 10; |
static const int kH = 10; |
static const size_t kRowBytes = sizeof(uint32_t) * kW; |