diff options
Diffstat (limited to 'include/core/SkPoint.h')
-rw-r--r-- | include/core/SkPoint.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkPoint.h b/include/core/SkPoint.h index f5ecbab78c..2cc57126f2 100644 --- a/include/core/SkPoint.h +++ b/include/core/SkPoint.h @@ -496,7 +496,7 @@ struct SK_API SkPoint { */ SkScalar distanceToLineBetweenSqd(const SkPoint& a, const SkPoint& b, - Side* side = NULL) const; + Side* side = nullptr) const; /** * Returns the distance to the infinite line between two pts. Also @@ -505,7 +505,7 @@ struct SK_API SkPoint { */ SkScalar distanceToLineBetween(const SkPoint& a, const SkPoint& b, - Side* side = NULL) const { + Side* side = nullptr) const { return SkScalarSqrt(this->distanceToLineBetweenSqd(a, b, side)); } |