Index: src/effects/SkAlphaThresholdFilter.cpp |
diff --git a/src/effects/SkAlphaThresholdFilter.cpp b/src/effects/SkAlphaThresholdFilter.cpp |
index adb227d017fec73de532342876e2a0b84022dea9..07a46ad1573950529162b823a32d9ab0029e858a 100644 |
--- a/src/effects/SkAlphaThresholdFilter.cpp |
+++ b/src/effects/SkAlphaThresholdFilter.cpp |
@@ -157,10 +157,10 @@ private: |
void GrGLAlphaThresholdEffect::emitCode(EmitArgs& args) { |
GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; |
- fInnerThresholdVar = uniformHandler->addUniform(GrGLSLUniformHandler::kFragment_Visibility, |
+ fInnerThresholdVar = uniformHandler->addUniform(kFragment_GrShaderFlag, |
kFloat_GrSLType, kDefault_GrSLPrecision, |
"inner_threshold"); |
- fOuterThresholdVar = uniformHandler->addUniform(GrGLSLUniformHandler::kFragment_Visibility, |
+ fOuterThresholdVar = uniformHandler->addUniform(kFragment_GrShaderFlag, |
kFloat_GrSLType, kDefault_GrSLPrecision, |
"outer_threshold"); |