Index: tests/GLProgramsTest.cpp |
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp |
index 7440608d773b5f940e5206e6c4540ceb9872bcd7..6b8efeb193df81ee388cd0d0ac13ac36d7551763 100644 |
--- a/tests/GLProgramsTest.cpp |
+++ b/tests/GLProgramsTest.cpp |
@@ -15,7 +15,7 @@ |
#include "GrAutoLocaleSetter.h" |
#include "GrBatchTest.h" |
#include "GrContextFactory.h" |
-#include "GrDrawContext.h" |
+#include "GrDrawContextPriv.h" |
#include "GrDrawingManager.h" |
#include "GrInvariantOutput.h" |
#include "GrPipeline.h" |
@@ -361,7 +361,7 @@ bool GrDrawingManager::ProgramUnitTest(GrContext* context, int maxStages) { |
return false; |
} |
- drawContext->internal_drawBatch(pipelineBuilder, batch); |
+ drawContext->drawContextPriv().testingOnly_drawBatch(pipelineBuilder, batch); |
} |
// Flush everything, test passes if flush is successful(ie, no asserts are hit, no crashes) |
drawingManager->flush(); |
@@ -398,7 +398,7 @@ bool GrDrawingManager::ProgramUnitTest(GrContext* context, int maxStages) { |
return false; |
} |
- drawContext->internal_drawBatch(builder, batch); |
+ drawContext->drawContextPriv().testingOnly_drawBatch(builder, batch); |
drawingManager->flush(); |
} |
} |