aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkPath.cpp')
-rw-r--r--src/core/SkPath.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp
index 8aecf1b624..32ec2c560b 100644
--- a/src/core/SkPath.cpp
+++ b/src/core/SkPath.cpp
@@ -1877,8 +1877,8 @@ const SkPoint& SkPath::Iter::cons_moveTo() {
void SkPath::Iter::consumeDegenerateSegments(bool exact) {
// We need to step over anything that will not move the current draw point
// forward before the next move is seen
- const uint8_t* lastMoveVerb = 0;
- const SkPoint* lastMovePt = 0;
+ const uint8_t* lastMoveVerb = nullptr;
+ const SkPoint* lastMovePt = nullptr;
const SkScalar* lastMoveWeight = nullptr;
SkPoint lastPt = fLastPt;
while (fVerbs != fVerbStop) {