Index: src/effects/SkTableColorFilter.cpp |
diff --git a/src/effects/SkTableColorFilter.cpp b/src/effects/SkTableColorFilter.cpp |
index 9f7289f6c4ef4f8bc5a43297e2d3f2a9fea080f2..6d81423f80857bfb8e38f149abee8f2648a8f931 100644 |
--- a/src/effects/SkTableColorFilter.cpp |
+++ b/src/effects/SkTableColorFilter.cpp |
@@ -410,7 +410,7 @@ void GLColorTableEffect::onSetData(const GrGLSLProgramDataManager& pdm, const Gr |
void GLColorTableEffect::emitCode(EmitArgs& args) { |
const char* yoffsets; |
- fRGBAYValuesUni = args.fUniformHandler->addUniform(GrGLSLUniformHandler::kFragment_Visibility, |
+ fRGBAYValuesUni = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, |
kVec4f_GrSLType, kDefault_GrSLPrecision, |
"yoffsets", &yoffsets); |
static const float kColorScaleFactor = 255.0f / 256.0f; |