Index: gm/giantbitmap.cpp |
diff --git a/gm/giantbitmap.cpp b/gm/giantbitmap.cpp |
index e8bfad49900216842c9e7644066ed3a85372d060..571dbd811421b49804f059978fc051913f257859 100644 |
--- a/gm/giantbitmap.cpp |
+++ b/gm/giantbitmap.cpp |
@@ -25,7 +25,7 @@ class GiantBitmapGM : public skiagm::GM { |
bool fDoRotate; |
const SkBitmap& getBitmap() { |
- if (NULL == fBM) { |
+ if (nullptr == fBM) { |
fBM = new SkBitmap; |
fBM->allocN32Pixels(W, H); |
fBM->eraseColor(SK_ColorWHITE); |
@@ -60,7 +60,7 @@ class GiantBitmapGM : public skiagm::GM { |
} |
public: |
- GiantBitmapGM(SkShader::TileMode mode, bool doFilter, bool doRotate) : fBM(NULL) { |
+ GiantBitmapGM(SkShader::TileMode mode, bool doFilter, bool doRotate) : fBM(nullptr) { |
fMode = mode; |
fDoFilter = doFilter; |
fDoRotate = doRotate; |