Index: bench/subset/SubsetBenchPriv.h |
diff --git a/bench/subset/SubsetBenchPriv.h b/bench/subset/SubsetBenchPriv.h |
index d3876840a791615dde0912efccc88fc08df7cb91..02f7040a227fa2b4b5d2a0f4164a8dcfbb68e4b3 100644 |
--- a/bench/subset/SubsetBenchPriv.h |
+++ b/bench/subset/SubsetBenchPriv.h |
@@ -41,7 +41,7 @@ static inline void alloc_pixels(SkBitmap* bitmap, const SkImageInfo& info, SkPMC |
int colorCount) { |
if (kIndex_8_SkColorType == info.colorType()) { |
SkAutoTUnref<SkColorTable> colorTable(new SkColorTable(colors, colorCount)); |
- bitmap->allocPixels(info, NULL, colorTable); |
+ bitmap->allocPixels(info, nullptr, colorTable); |
} else { |
bitmap->allocPixels(info); |
} |