Index: src/gpu/GrBatchTest.h |
diff --git a/src/gpu/GrBatchTest.h b/src/gpu/GrBatchTest.h |
index 3199354a8df2e6a7158f5b0553e40764290c02d1..9daa9609ce784c72aca334eb3d22d4e2c1132d31 100644 |
--- a/src/gpu/GrBatchTest.h |
+++ b/src/gpu/GrBatchTest.h |
@@ -29,7 +29,9 @@ typedef GrBatch* (*BatchTestFunc)(SkRandom* random, GrContext* context); |
#define BATCH_TEST_EXTERN(Batch) \ |
extern GrBatch* Batch##__Test(SkRandom*, GrContext* context); |
#define BATCH_TEST_ENTRY(Batch) \ |
- Batch##__Test |
+ Batch##__Test |
+#define BATCH_TEST_FRIEND(Batch) \ |
+ friend GrBatch* Batch##__Test(SkRandom* random, GrContext* context); |
GrBatch* GrRandomBatch(SkRandom*, GrContext*); |