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/ninepatchstretch.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/ninepatchstretch.cpp')
-rw-r--r-- | gm/ninepatchstretch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/ninepatchstretch.cpp b/gm/ninepatchstretch.cpp index 267c41587b..4074add1bb 100644 --- a/gm/ninepatchstretch.cpp +++ b/gm/ninepatchstretch.cpp @@ -70,7 +70,7 @@ protected: } void onDraw(SkCanvas* canvas) override { - if (NULL == fBitmap.pixelRef()) { + if (nullptr == fBitmap.pixelRef()) { fImage.reset(make_image(canvas, &fCenter)); image_to_bitmap(fImage, &fBitmap); } @@ -85,7 +85,7 @@ protected: { fixed * 4, fixed * 4 } }; - canvas->drawBitmap(fBitmap, 10, 10, NULL); + canvas->drawBitmap(fBitmap, 10, 10, nullptr); SkScalar x = SkIntToScalar(100); SkScalar y = SkIntToScalar(100); |