Index: src/gpu/glsl/GrGLSLXferProcessor.cpp |
diff --git a/src/gpu/glsl/GrGLSLXferProcessor.cpp b/src/gpu/glsl/GrGLSLXferProcessor.cpp |
index 9d2538f0818e791b2da4f18da213f011e202d680..c4b62be525c600055a62e1d178b7cd0394a6d6fc 100644 |
--- a/src/gpu/glsl/GrGLSLXferProcessor.cpp |
+++ b/src/gpu/glsl/GrGLSLXferProcessor.cpp |
@@ -36,12 +36,12 @@ void GrGLSLXferProcessor::emitCode(const EmitArgs& args) { |
const char* dstTopLeftName; |
const char* dstCoordScaleName; |
- fDstTopLeftUni = uniformHandler->addUniform(GrGLSLUniformHandler::kFragment_Visibility, |
+ fDstTopLeftUni = uniformHandler->addUniform(kFragment_GrShaderFlag, |
kVec2f_GrSLType, |
kDefault_GrSLPrecision, |
"DstTextureUpperLeft", |
&dstTopLeftName); |
- fDstScaleUni = uniformHandler->addUniform(GrGLSLUniformHandler::kFragment_Visibility, |
+ fDstScaleUni = uniformHandler->addUniform(kFragment_GrShaderFlag, |
kVec2f_GrSLType, |
kDefault_GrSLPrecision, |
"DstTextureCoordScale", |