Index: tests/GrDrawTargetTest.cpp |
diff --git a/tests/GrDrawTargetTest.cpp b/tests/GrDrawTargetTest.cpp |
index 30fc0a24aaa98802381acda6b1b653ad42ee9f28..4f927091dec2d40358237eae2b659b90aada918a 100644 |
--- a/tests/GrDrawTargetTest.cpp |
+++ b/tests/GrDrawTargetTest.cpp |
@@ -12,11 +12,11 @@ |
#include "GrContext.h" |
#include "GrGpu.h" |
-DEF_GPUTEST_FOR_ALL_CONTEXTS(GrDrawTargetPrint, reporter, context) { |
+DEF_GPUTEST_FOR_ALL_CONTEXTS(GrDrawTargetPrint, reporter, ctxInfo) { |
// This used to assert. |
- SkString result = context->caps()->dump(); |
+ SkString result = ctxInfo.fGrContext->caps()->dump(); |
SkASSERT(!result.isEmpty()); |
- SkString shaderResult = context->caps()->shaderCaps()->dump(); |
+ SkString shaderResult = ctxInfo.fGrContext->caps()->shaderCaps()->dump(); |
SkASSERT(!shaderResult.isEmpty()); |
} |