Index: src/effects/SkMorphologyImageFilter.cpp |
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp |
index bc5bdee7e44535258c755ed4565eb95585190344..3657e33bf6cfc5a8440cc3be6bd169f100745250 100644 |
--- a/src/effects/SkMorphologyImageFilter.cpp |
+++ b/src/effects/SkMorphologyImageFilter.cpp |
@@ -271,11 +271,11 @@ void GrGLMorphologyEffect::emitCode(EmitArgs& args) { |
const GrMorphologyEffect& me = args.fFp.cast<GrMorphologyEffect>(); |
GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; |
- fPixelSizeUni = uniformHandler->addUniform(GrGLSLUniformHandler::kFragment_Visibility, |
+ fPixelSizeUni = uniformHandler->addUniform(kFragment_GrShaderFlag, |
kFloat_GrSLType, kDefault_GrSLPrecision, |
"PixelSize"); |
const char* pixelSizeInc = uniformHandler->getUniformCStr(fPixelSizeUni); |
- fRangeUni = uniformHandler->addUniform(GrGLSLUniformHandler::kFragment_Visibility, |
+ fRangeUni = uniformHandler->addUniform(kFragment_GrShaderFlag, |
kVec2f_GrSLType, kDefault_GrSLPrecision, |
"Range"); |
const char* range = uniformHandler->getUniformCStr(fRangeUni); |