diff options
Diffstat (limited to 'include/core/SkPath.h')
-rw-r--r-- | include/core/SkPath.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkPath.h b/include/core/SkPath.h index 0a70f0e9ad..f0d6f3b2ae 100644 --- a/include/core/SkPath.h +++ b/include/core/SkPath.h @@ -663,7 +663,7 @@ public: * @param direction If not null, set to the rectangle's direction * @return true if the path specifies a rectangle */ - bool isRect(SkRect* rect, bool* isClosed = NULL, Direction* direction = NULL) const; + bool isRect(SkRect* rect, bool* isClosed = nullptr, Direction* direction = nullptr) const; /** Returns true if the path specifies a pair of nested rectangles, or would draw a pair of nested rectangles when filled. If so, and if @@ -677,7 +677,7 @@ public: @param dirs If not null, returns the direction of the rects @return true if the path describes a pair of nested rectangles */ - bool isNestedFillRects(SkRect rect[2], Direction dirs[2] = NULL) const; + bool isNestedFillRects(SkRect rect[2], Direction dirs[2] = nullptr) const; /** * Add a closed rectangle contour to the path |