Index: tests/GLProgramsTest.cpp |
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp |
index 85ee1003650698da61ed1943c5b9269ae47c3543..57a65a0aa9b29065f29874dcebd1b4df977fe403 100644 |
--- a/tests/GLProgramsTest.cpp |
+++ b/tests/GLProgramsTest.cpp |
@@ -238,7 +238,7 @@ bool GrDrawTarget::programUnitTest(GrContext* context, int maxStages) { |
pipelineBuilder.setRenderTarget(rt.get()); |
pipelineBuilder.setClip(clip); |
- SkAutoTUnref<GrBatch> batch(GrRandomBatch(&random, context)); |
+ SkAutoTUnref<GrDrawBatch> batch(GrRandomDrawBatch(&random, context)); |
SkASSERT(batch); |
GrProcessorDataManager procDataManager; |