diff options
Diffstat (limited to 'tools/skpmaker.cpp')
-rw-r--r-- | tools/skpmaker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/skpmaker.cpp b/tools/skpmaker.cpp index 0e378ed088..8fa969a6f0 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); |