Index: src/effects/SkMagnifierImageFilter.cpp |
diff --git a/src/effects/SkMagnifierImageFilter.cpp b/src/effects/SkMagnifierImageFilter.cpp |
index 734002dfaea4cb68c7f227d799a24c1cdab8f25e..81f55d43f1eec9975021ae68a1c83aac06f3ae7a 100644 |
--- a/src/effects/SkMagnifierImageFilter.cpp |
+++ b/src/effects/SkMagnifierImageFilter.cpp |
@@ -116,16 +116,16 @@ private: |
void GrGLMagnifierEffect::emitCode(EmitArgs& args) { |
GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; |
- fOffsetVar = uniformHandler->addUniform(GrGLSLUniformHandler::kFragment_Visibility, |
+ fOffsetVar = uniformHandler->addUniform(kFragment_GrShaderFlag, |
kVec2f_GrSLType, kDefault_GrSLPrecision, |
"Offset"); |
- fInvZoomVar = uniformHandler->addUniform(GrGLSLUniformHandler::kFragment_Visibility, |
+ fInvZoomVar = uniformHandler->addUniform(kFragment_GrShaderFlag, |
kVec2f_GrSLType, kDefault_GrSLPrecision, |
"InvZoom"); |
- fInvInsetVar = uniformHandler->addUniform(GrGLSLUniformHandler::kFragment_Visibility, |
+ fInvInsetVar = uniformHandler->addUniform(kFragment_GrShaderFlag, |
kVec2f_GrSLType, kDefault_GrSLPrecision, |
"InvInset"); |
- fBoundsVar = uniformHandler->addUniform(GrGLSLUniformHandler::kFragment_Visibility, |
+ fBoundsVar = uniformHandler->addUniform(kFragment_GrShaderFlag, |
kVec4f_GrSLType, kDefault_GrSLPrecision, |
"Bounds"); |