Index: src/effects/gradients/SkLinearGradient.cpp |
diff --git a/src/effects/gradients/SkLinearGradient.cpp b/src/effects/gradients/SkLinearGradient.cpp |
index 551afaab02573f0addcff46136defea26e33dc9c..b26d60626b0b2a51d7c9894160932240153e26fe 100644 |
--- a/src/effects/gradients/SkLinearGradient.cpp |
+++ b/src/effects/gradients/SkLinearGradient.cpp |
@@ -569,7 +569,7 @@ void GrGLLinearGradient::emitCode(GrGLProgramBuilder* builder, |
bool SkLinearGradient::asNewEffect(GrContext* context, const SkPaint& paint, |
const SkMatrix* localMatrix, GrColor* paintColor, |
GrEffect** effect) const { |
- SkASSERT(NULL != context); |
+ SkASSERT(context); |
SkMatrix matrix; |
if (!this->getLocalMatrix().invert(&matrix)) { |