| Index: src/gpu/gl/builders/GrGLProgramBuilder.cpp
|
| diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.cpp b/src/gpu/gl/builders/GrGLProgramBuilder.cpp
|
| index 54b30bea4f070304efe41de2cc8489db29c0b288..f5e115e94c4d7628f546ab6a51a09c57b94b0295 100644
|
| --- a/src/gpu/gl/builders/GrGLProgramBuilder.cpp
|
| +++ b/src/gpu/gl/builders/GrGLProgramBuilder.cpp
|
| @@ -342,7 +342,7 @@ void GrGLProgramBuilder::emitAndInstallProc(const GrPendingFragmentStage& fs,
|
| GrGLInstalledFragProc* ifp = SkNEW(GrGLInstalledFragProc);
|
|
|
| const GrFragmentProcessor& fp = *fs.getProcessor();
|
| - ifp->fGLProc.reset(fp.getFactory().createGLInstance(fp));
|
| + ifp->fGLProc.reset(fp.createGLInstance());
|
|
|
| SkSTArray<4, GrGLProcessor::TextureSampler> samplers(fp.numTextures());
|
| this->emitSamplers(fp, &samplers, ifp);
|
| @@ -366,7 +366,7 @@ void GrGLProgramBuilder::emitAndInstallProc(const GrGeometryProcessor& gp,
|
| fGeometryProcessor = SkNEW(GrGLInstalledGeoProc);
|
|
|
| const GrBatchTracker& bt = fOptState.getBatchTracker();
|
| - fGeometryProcessor->fGLProc.reset(gp.getFactory().createGLInstance(gp, bt));
|
| + fGeometryProcessor->fGLProc.reset(gp.createGLInstance(bt));
|
|
|
| SkSTArray<4, GrGLProcessor::TextureSampler> samplers(gp.numTextures());
|
| this->emitSamplers(gp, &samplers, fGeometryProcessor);
|
|
|