aboutsummaryrefslogtreecommitdiffstats
path: root/bench/subset/SubsetBenchPriv.h
diff options
context:
space:
mode:
Diffstat (limited to 'bench/subset/SubsetBenchPriv.h')
-rw-r--r--bench/subset/SubsetBenchPriv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/subset/SubsetBenchPriv.h b/bench/subset/SubsetBenchPriv.h
index d3876840a7..02f7040a22 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);
}