Index: src/gpu/glsl/GrGLSLPrimitiveProcessor.cpp |
diff --git a/src/gpu/glsl/GrGLSLPrimitiveProcessor.cpp b/src/gpu/glsl/GrGLSLPrimitiveProcessor.cpp |
index 23bb249af7aea5e0cab141477288ee931a7874af..c2c4d4ec132df1376228ae4ce10c11fa0f323ecf 100644 |
--- a/src/gpu/glsl/GrGLSLPrimitiveProcessor.cpp |
+++ b/src/gpu/glsl/GrGLSLPrimitiveProcessor.cpp |
@@ -40,7 +40,7 @@ void GrGLSLPrimitiveProcessor::setupUniformColor(GrGLSLFragmentBuilder* fragBuil |
UniformHandle* colorUniform) { |
SkASSERT(colorUniform); |
const char* stagedLocalVarName; |
- *colorUniform = uniformHandler->addUniform(GrGLSLUniformHandler::kFragment_Visibility, |
+ *colorUniform = uniformHandler->addUniform(kFragment_GrShaderFlag, |
kVec4f_GrSLType, |
kDefault_GrSLPrecision, |
"Color", |