Index: src/effects/SkArithmeticMode.cpp |
diff --git a/src/effects/SkArithmeticMode.cpp b/src/effects/SkArithmeticMode.cpp |
index be636c5bbf0589359fe63f694c925cfa0c7ec44e..22f464cb4923115bc1aba8d8d9290c8bfdcab58f 100644 |
--- a/src/effects/SkArithmeticMode.cpp |
+++ b/src/effects/SkArithmeticMode.cpp |
@@ -379,7 +379,7 @@ void GrGLArithmeticEffect::emitCode(GrGLProgramBuilder* builder, |
dstColor = fsBuilder->dstColor(); |
} |
- SkASSERT(NULL != dstColor); |
+ SkASSERT(dstColor); |
fKUni = builder->addUniform(GrGLProgramBuilder::kFragment_Visibility, |
kVec4f_GrSLType, "k"); |
const char* kUni = builder->getUniformCStr(fKUni); |