Index: src/gpu/effects/GrTextureDomain.cpp |
diff --git a/src/gpu/effects/GrTextureDomain.cpp b/src/gpu/effects/GrTextureDomain.cpp |
index 2bba9b6ea4a9b72d61faa4bab0bb737fdbaacefc..16bca7c6d72fb5dee168922004d34590a3a7236e 100644 |
--- a/src/gpu/effects/GrTextureDomain.cpp |
+++ b/src/gpu/effects/GrTextureDomain.cpp |
@@ -60,7 +60,7 @@ void GrTextureDomain::GLDomain::sampleTexture(GrGLSLShaderBuilder* builder, |
if (textureDomain.fIndex >= 0) { |
uniName.appendS32(textureDomain.fIndex); |
} |
- fDomainUni = uniformHandler->addUniform(GrGLSLUniformHandler::kFragment_Visibility, |
+ fDomainUni = uniformHandler->addUniform(kFragment_GrShaderFlag, |
kVec4f_GrSLType, kDefault_GrSLPrecision, |
uniName.c_str(), &name); |
fDomainName = name; |