Index: src/gpu/glsl/GrGLSLShaderBuilder.cpp |
diff --git a/src/gpu/glsl/GrGLSLShaderBuilder.cpp b/src/gpu/glsl/GrGLSLShaderBuilder.cpp |
index a2cf66cb4097c591f6a5014328356291d8acc09c..c94a85534f7fb7b3ec767ecced979b2a50c7af30 100644 |
--- a/src/gpu/glsl/GrGLSLShaderBuilder.cpp |
+++ b/src/gpu/glsl/GrGLSLShaderBuilder.cpp |
@@ -158,8 +158,7 @@ void GrGLSLShaderBuilder::finalize(uint32_t visibility) { |
this->versionDecl() = fProgramBuilder->glslCaps()->versionDeclString(); |
this->compileAndAppendLayoutQualifiers(); |
SkASSERT(visibility); |
- fProgramBuilder->appendUniformDecls((GrGLSLUniformHandler::ShaderVisibility) visibility, |
- &this->uniforms()); |
+ fProgramBuilder->appendUniformDecls((GrShaderFlags) visibility, &this->uniforms()); |
this->appendDecls(fInputs, &this->inputs()); |
this->appendDecls(fOutputs, &this->outputs()); |
this->onFinalize(); |