Index: bench/PerlinNoiseBench.cpp |
diff --git a/bench/PerlinNoiseBench.cpp b/bench/PerlinNoiseBench.cpp |
index b8237c065555e18b37af159ac02497fb76c29ac8..3fbb72309d0f2a2e3d479bffd8a87224a0036d77 100644 |
--- a/bench/PerlinNoiseBench.cpp |
+++ b/bench/PerlinNoiseBench.cpp |
@@ -43,9 +43,9 @@ private: |
bool stitchTiles) { |
SkShader* shader = (type == SkPerlinNoiseShader::kFractalNoise_Type) ? |
SkPerlinNoiseShader::CreateFractalNoise(baseFrequencyX, baseFrequencyY, numOctaves, |
- seed, stitchTiles ? &fSize : NULL) : |
+ seed, stitchTiles ? &fSize : nullptr) : |
SkPerlinNoiseShader::CreateTurbulence(baseFrequencyX, baseFrequencyY, numOctaves, |
- seed, stitchTiles ? &fSize : NULL); |
+ seed, stitchTiles ? &fSize : nullptr); |
SkPaint paint; |
paint.setShader(shader)->unref(); |