Index: src/core/SkColorMatrixFilterRowMajor255.cpp |
diff --git a/src/core/SkColorMatrixFilterRowMajor255.cpp b/src/core/SkColorMatrixFilterRowMajor255.cpp |
index 33bf0422339080c40c45c47cb6b81d5bae9bf4fa..3b79d7f42c479909d3f0ddcce08a2358646c0085 100644 |
--- a/src/core/SkColorMatrixFilterRowMajor255.cpp |
+++ b/src/core/SkColorMatrixFilterRowMajor255.cpp |
@@ -257,10 +257,10 @@ public: |
void emitCode(EmitArgs& args) override { |
GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; |
- fMatrixHandle = uniformHandler->addUniform(GrGLSLUniformHandler::kFragment_Visibility, |
+ fMatrixHandle = uniformHandler->addUniform(kFragment_GrShaderFlag, |
kMat44f_GrSLType, kDefault_GrSLPrecision, |
"ColorMatrix"); |
- fVectorHandle = uniformHandler->addUniform(GrGLSLUniformHandler::kFragment_Visibility, |
+ fVectorHandle = uniformHandler->addUniform(kFragment_GrShaderFlag, |
kVec4f_GrSLType, kDefault_GrSLPrecision, |
"ColorMatrixVector"); |