Index: src/gpu/gl/builders/GrGLPathProgramBuilder.cpp |
diff --git a/src/gpu/gl/builders/GrGLPathProgramBuilder.cpp b/src/gpu/gl/builders/GrGLPathProgramBuilder.cpp |
index 9bebe0d89e212b701ff9121861ee768f00fd2c0e..426676f1e3d99461d0686991a5827aded11178ab 100644 |
--- a/src/gpu/gl/builders/GrGLPathProgramBuilder.cpp |
+++ b/src/gpu/gl/builders/GrGLPathProgramBuilder.cpp |
@@ -18,12 +18,9 @@ GrGLPathProgramBuilder::GrGLPathProgramBuilder(GrGLGpu* gpu, const DrawArgs& arg |
} |
GrGLProgram* GrGLPathProgramBuilder::createProgram(GrGLuint programID) { |
- return SkNEW_ARGS(GrGLPathProgram, (fGpu, this->desc(), fUniformHandles, programID, |
- fUniforms, |
- fSeparableVaryingInfos, |
- fGeometryProcessor, |
- fXferProcessor, fFragmentProcessors.get(), |
- &fSamplerUniforms)); |
+ return new GrGLPathProgram(fGpu, this->desc(), fUniformHandles, programID, fUniforms, |
+ fSeparableVaryingInfos, fGeometryProcessor, fXferProcessor, |
+ fFragmentProcessors.get(), &fSamplerUniforms); |
} |
GrGLProgramBuilder::SeparableVaryingHandle GrGLPathProgramBuilder::addSeparableVarying( |