diff options
author | halcanary <halcanary@google.com> | 2015-08-27 07:41:13 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-27 07:41:16 -0700 |
commit | 96fcdcc219d2a0d3579719b84b28bede76efba64 (patch) | |
tree | 0ec5ea0193d8292df8bf5ed9dd8498a5eb5763dd /gm/giantbitmap.cpp | |
parent | 435af2f736c85c3274a0c6760a3523810750d237 (diff) |
Style Change: NULL->nullptr
DOCS_PREVIEW= https://skia.org/?cl=1316233002
Review URL: https://codereview.chromium.org/1316233002
Diffstat (limited to 'gm/giantbitmap.cpp')
-rw-r--r-- | gm/giantbitmap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/giantbitmap.cpp b/gm/giantbitmap.cpp index e8bfad4990..571dbd8114 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; |