aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/blurrect.cpp
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2015-08-27 07:41:13 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-27 07:41:16 -0700
commit96fcdcc219d2a0d3579719b84b28bede76efba64 (patch)
tree0ec5ea0193d8292df8bf5ed9dd8498a5eb5763dd /gm/blurrect.cpp
parent435af2f736c85c3274a0c6760a3523810750d237 (diff)
Style Change: NULL->nullptr
Diffstat (limited to 'gm/blurrect.cpp')
-rw-r--r--gm/blurrect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/blurrect.cpp b/gm/blurrect.cpp
index 0726f2cd52..6b7354071b 100644
--- a/gm/blurrect.cpp
+++ b/gm/blurrect.cpp
@@ -235,7 +235,7 @@ protected:
canvas->save();
canvas->translate((SkScalar)cur_x, (SkScalar)cur_y);
canvas->translate(-(bm.width() - r.width())/2, -(bm.height()-r.height())/2);
- canvas->drawBitmap(bm, 0.f, 0.f, NULL);
+ canvas->drawBitmap(bm, 0.f, 0.f, nullptr);
canvas->restore();
cur_x += bm.width() + fPadding;
@@ -313,7 +313,7 @@ protected:
center_x = (canvas_size.fWidth - mask.fBounds.width())/2;
center_y = (canvas_size.fHeight - mask.fBounds.height())/2;
- canvas->drawBitmap(bm, SkIntToScalar(center_x), SkIntToScalar(center_y), NULL);
+ canvas->drawBitmap(bm, SkIntToScalar(center_x), SkIntToScalar(center_y), nullptr);
}
private: