aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/PicturePlaybackBench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/PicturePlaybackBench.cpp')
-rw-r--r--bench/PicturePlaybackBench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/PicturePlaybackBench.cpp b/bench/PicturePlaybackBench.cpp
index e11d7c8360..04eddc4f4f 100644
--- a/bench/PicturePlaybackBench.cpp
+++ b/bench/PicturePlaybackBench.cpp
@@ -40,7 +40,7 @@ protected:
virtual void onDraw(const int loops, SkCanvas* canvas) {
SkPictureRecorder recorder;
- SkCanvas* pCanvas = recorder.beginRecording(PICTURE_WIDTH, PICTURE_HEIGHT, NULL, 0);
+ SkCanvas* pCanvas = recorder.beginRecording(PICTURE_WIDTH, PICTURE_HEIGHT, nullptr, 0);
this->recordCanvas(pCanvas);
SkAutoTUnref<SkPicture> picture(recorder.endRecording());