Index: src/effects/gradients/SkTwoPointRadialGradient.cpp |
diff --git a/src/effects/gradients/SkTwoPointRadialGradient.cpp b/src/effects/gradients/SkTwoPointRadialGradient.cpp |
index bb5ec04bfd978d25fef7d6c4c725e5a2369172bb..75b1e79d7a486ff2443aa6f83e29c1567151a6fc 100644 |
--- a/src/effects/gradients/SkTwoPointRadialGradient.cpp |
+++ b/src/effects/gradients/SkTwoPointRadialGradient.cpp |
@@ -687,7 +687,7 @@ void GrGLRadial2Gradient::GenKey(const GrDrawEffect& drawEffect, |
bool SkTwoPointRadialGradient::asNewEffect(GrContext* context, const SkPaint& paint, |
const SkMatrix* localMatrix, GrColor* paintColor, |
GrEffect** effect) const { |
- SkASSERT(NULL != context); |
+ SkASSERT(context); |
// invert the localM, translate to center1 (fPtsToUni), rotate so center2 is on x axis. |
SkMatrix matrix; |