Index: bench/CodecBench.cpp |
diff --git a/bench/CodecBench.cpp b/bench/CodecBench.cpp |
index 903b7336c8ad081884b609cacc956b0cb838d412..1e6b5207bfcb1318fd38667aab6763dc4bdc225a 100644 |
--- a/bench/CodecBench.cpp |
+++ b/bench/CodecBench.cpp |
@@ -72,7 +72,7 @@ void CodecBench::onDraw(const int n, SkCanvas* canvas) { |
const SkCodec::Result result = |
#endif |
codec->getPixels(fInfo, fPixelStorage.get(), fInfo.minRowBytes(), |
- NULL, colorTable, &colorCount); |
+ nullptr, colorTable, &colorCount); |
SkASSERT(result == SkCodec::kSuccess |
|| result == SkCodec::kIncompleteInput); |
} |