Index: tools/skpmaker.cpp |
diff --git a/tools/skpmaker.cpp b/tools/skpmaker.cpp |
index 0e378ed088934b5e8169b43f79c0dee26d9e45ec..8fa969a6f072f2a87dc55ca0088ae5d719d58774 100644 |
--- a/tools/skpmaker.cpp |
+++ b/tools/skpmaker.cpp |
@@ -32,7 +32,7 @@ DEFINE_string(writePath, "", "Filepath to write the SKP into."); |
static void make_skp(SkScalar width, SkScalar height, SkScalar border, SkColor color, |
const char *writePath) { |
SkPictureRecorder recorder; |
- SkCanvas* canvas = recorder.beginRecording(width, height, NULL, 0); |
+ SkCanvas* canvas = recorder.beginRecording(width, height, nullptr, 0); |
SkPaint paint; |
paint.setStyle(SkPaint::kFill_Style); |
paint.setColor(SK_ColorBLACK); |