Index: tests/GLProgramsTest.cpp |
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp |
index 16d44fd9df1e852cce8cecae8b9e6c2a647f3968..aee12d7cfbe3b628db02eb9983179678a1173d20 100644 |
--- a/tests/GLProgramsTest.cpp |
+++ b/tests/GLProgramsTest.cpp |
@@ -298,7 +298,7 @@ bool GrDrawTarget::programUnitTest(int maxStages) { |
} else { |
primProc = pathProc.get(); |
} |
- if (!this->setupDstReadIfNecessary(&pipelineBuilder, &dstCopy, NULL)) { |
+ if (!this->setupDstReadIfNecessary(pipelineBuilder, &dstCopy, NULL)) { |
SkDebugf("Couldn't setup dst read texture"); |
return false; |
} |
@@ -313,7 +313,7 @@ bool GrDrawTarget::programUnitTest(int maxStages) { |
primProc->initBatchTracker(&bt, pipeline.getInitBatchTracker()); |
GrProgramDesc desc; |
- gpu->buildProgramDesc(&desc, *primProc, pipeline, pipeline.descInfo(), bt); |
+ gpu->buildProgramDesc(&desc, *primProc, pipeline, bt); |
GrGpu::DrawArgs args(primProc, &pipeline, &desc, &bt); |
SkAutoTUnref<GrGLProgram> program(GrGLProgramBuilder::CreateProgram(args, gpu)); |