aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/filterfastbounds.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/filterfastbounds.cpp
parent435af2f736c85c3274a0c6760a3523810750d237 (diff)
Style Change: NULL->nullptr
Diffstat (limited to 'gm/filterfastbounds.cpp')
-rw-r--r--gm/filterfastbounds.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gm/filterfastbounds.cpp b/gm/filterfastbounds.cpp
index f6797db9f3..fe06ff1049 100644
--- a/gm/filterfastbounds.cpp
+++ b/gm/filterfastbounds.cpp
@@ -116,7 +116,7 @@ static void create_paints(SkImageFilter* source, SkTArray<SkPaint>* paints) {
SkDropShadowImageFilter::Create(10.0f, 10.0f,
3.0f, 3.0f,
SK_ColorRED, kBoth,
- source, NULL));
+ source, nullptr));
add_paint(dsif, paints);
}
@@ -127,7 +127,7 @@ static void create_paints(SkImageFilter* source, SkTArray<SkPaint>* paints) {
3.0f, 3.0f,
SK_ColorRED,
SkDropShadowImageFilter::kDrawShadowOnly_ShadowMode,
- source, NULL));
+ source, nullptr));
add_paint(dsif, paints);
}
@@ -231,7 +231,7 @@ protected:
//-----------
// Normal paints (no source)
SkTArray<SkPaint> paints;
- create_paints(NULL, &paints);
+ create_paints(nullptr, &paints);
//-----------
// Paints with a PictureImageFilter as a source