Index: bench/RecordingBench.cpp |
diff --git a/bench/RecordingBench.cpp b/bench/RecordingBench.cpp |
index eada9305f968656669a995e186b2124e01f33841..c66e11a1d5c133a82daffce223f19f784586e7c7 100644 |
--- a/bench/RecordingBench.cpp |
+++ b/bench/RecordingBench.cpp |
@@ -37,7 +37,7 @@ void RecordingBench::onDraw(const int loops, SkCanvas*) { |
| SkPictureRecorder::kPlaybackDrawPicture_RecordFlag; |
for (int i = 0; i < loops; i++) { |
SkPictureRecorder recorder; |
- fSrc->playback(recorder.beginRecording(w, h, fUseBBH ? &factory : NULL, flags)); |
+ fSrc->playback(recorder.beginRecording(w, h, fUseBBH ? &factory : nullptr, flags)); |
SkSafeUnref(recorder.endRecording()); |
} |
} |