Index: src/gpu/gl/builders/GrGLPathProgramBuilder.cpp |
diff --git a/src/gpu/gl/builders/GrGLPathProgramBuilder.cpp b/src/gpu/gl/builders/GrGLPathProgramBuilder.cpp |
index 426676f1e3d99461d0686991a5827aded11178ab..dd6a2763e9062f31838a095d2068ab5900ffd400 100644 |
--- a/src/gpu/gl/builders/GrGLPathProgramBuilder.cpp |
+++ b/src/gpu/gl/builders/GrGLPathProgramBuilder.cpp |
@@ -29,7 +29,7 @@ GrGLProgramBuilder::SeparableVaryingHandle GrGLPathProgramBuilder::addSeparableV |
SeparableVaryingInfo& varyingInfo = fSeparableVaryingInfos.push_back(); |
varyingInfo.fVariable = this->getFragmentShaderBuilder()->fInputs.back(); |
varyingInfo.fLocation = fSeparableVaryingInfos.count() - 1; |
- return SeparableVaryingHandle::CreateFromSeparableVaryingIndex(varyingInfo.fLocation); |
+ return SeparableVaryingHandle(varyingInfo.fLocation); |
} |
void GrGLPathProgramBuilder::bindProgramResourceLocations(GrGLuint programID) { |