Index: tests/GLProgramsTest.cpp |
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp |
index 2d62a5b3c30a59b7d7e86f93ff949e9d2d940022..96b0bcba44d76a19aa2b1e887cd9f6e3e2fd3fe9 100644 |
--- a/tests/GLProgramsTest.cpp |
+++ b/tests/GLProgramsTest.cpp |
@@ -14,6 +14,7 @@ |
#include "GrAutoLocaleSetter.h" |
#include "GrBatchTest.h" |
#include "GrContextFactory.h" |
+#include "GrContextPriv.h" |
#include "GrDrawContextPriv.h" |
#include "GrDrawingManager.h" |
#include "GrInvariantOutput.h" |
@@ -288,7 +289,7 @@ static const GrUserStencilSettings* get_random_stencil(SkRandom* random) { |
} |
bool GrDrawingManager::ProgramUnitTest(GrContext* context, int maxStages) { |
- GrDrawingManager* drawingManager = context->drawingManager(); |
+ GrDrawingManager* drawingManager = context->contextPriv().drawingManager(); |
// setup dummy textures |
GrSurfaceDesc dummyDesc; |