Index: gm/addarc.cpp |
diff --git a/gm/addarc.cpp b/gm/addarc.cpp |
index 3bfed8d549dfccbf3bee485b50a5df7b72f45732..0d1ea93133b14b7409de086d902c919a4922ad4b 100644 |
--- a/gm/addarc.cpp |
+++ b/gm/addarc.cpp |
@@ -101,7 +101,7 @@ protected: |
SkPathMeasure meas(path, false); |
SkScalar arcLen = rad * R; |
SkPoint pos; |
- if (meas.getPosTan(arcLen, &pos, NULL)) { |
+ if (meas.getPosTan(arcLen, &pos, nullptr)) { |
canvas->drawLine(0, 0, pos.x(), pos.y(), measPaint); |
} |
} |