Index: src/effects/gradients/SkLinearGradient.cpp |
diff --git a/src/effects/gradients/SkLinearGradient.cpp b/src/effects/gradients/SkLinearGradient.cpp |
index 8ae764607a0072ccc4b3b192d7a16b16ec1dcda5..fc5653b6fdce9cdf80528244c9a365900353c45a 100644 |
--- a/src/effects/gradients/SkLinearGradient.cpp |
+++ b/src/effects/gradients/SkLinearGradient.cpp |
@@ -550,7 +550,7 @@ GrEffect* SkLinearGradient::asNewEffect(GrContext* context, const SkPaint&) cons |
SkASSERT(NULL != context); |
SkMatrix matrix; |
if (!this->getLocalMatrix().invert(&matrix)) { |
- return false; |
+ return NULL; |
} |
matrix.postConcat(fPtsToUnit); |
return SkNEW_ARGS(GrLinearGradient, (context, *this, matrix, fTileMode)); |