Index: bench/ColorCubeBench.cpp |
diff --git a/bench/ColorCubeBench.cpp b/bench/ColorCubeBench.cpp |
index 9326a123c3c0a14011aad3addddb6450455b363b..65270a85a343490512d113816f5e2a178713d74d 100644 |
--- a/bench/ColorCubeBench.cpp |
+++ b/bench/ColorCubeBench.cpp |
@@ -18,7 +18,7 @@ class ColorCubeBench : public Benchmark { |
public: |
ColorCubeBench() |
: fCubeDimension(0) |
- , fCubeData(NULL) { |
+ , fCubeData(nullptr) { |
fSize = SkISize::Make(2880, 1800); // 2014 Macbook Pro resolution |
} |
@@ -54,7 +54,7 @@ private: |
}; |
static const SkColor colors[] = { SK_ColorYELLOW, SK_ColorBLUE }; |
return SkGradientShader::CreateLinear( |
- pts, colors, NULL, 2, SkShader::kRepeat_TileMode, 0, &SkMatrix::I()); |
+ pts, colors, nullptr, 2, SkShader::kRepeat_TileMode, 0, &SkMatrix::I()); |
} |
void make_bitmap() { |