Index: src/effects/gradients/SkTwoPointConicalGradient.cpp |
diff --git a/src/effects/gradients/SkTwoPointConicalGradient.cpp b/src/effects/gradients/SkTwoPointConicalGradient.cpp |
index 9284e7cb090a301b63223de5c36337aa1b133462..0ecad3a05109cd1d4662d61b968764aaabc254d9 100644 |
--- a/src/effects/gradients/SkTwoPointConicalGradient.cpp |
+++ b/src/effects/gradients/SkTwoPointConicalGradient.cpp |
@@ -423,7 +423,7 @@ void SkTwoPointConicalGradient::flatten(SkWriteBuffer& buffer) const { |
bool SkTwoPointConicalGradient::asNewEffect(GrContext* context, const SkPaint& paint, |
const SkMatrix* localMatrix, GrColor* paintColor, |
GrEffect** effect) const { |
- SkASSERT(NULL != context); |
+ SkASSERT(context); |
SkASSERT(fPtsToUnit.isIdentity()); |
*effect = Gr2PtConicalGradientEffect::Create(context, *this, fTileMode, localMatrix); |