Index: gm/dropshadowimagefilter.cpp |
diff --git a/gm/dropshadowimagefilter.cpp b/gm/dropshadowimagefilter.cpp |
index e06264c9da8afdef15e604c78ef913a91f54a69e..1b6bca42d0a860aec514011f1b26636527285612 100644 |
--- a/gm/dropshadowimagefilter.cpp |
+++ b/gm/dropshadowimagefilter.cpp |
@@ -58,7 +58,7 @@ static void draw_bitmap(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { |
bm.allocN32Pixels(bounds.width(), bounds.height()); |
bm.eraseColor(SK_ColorTRANSPARENT); |
SkCanvas c(bm); |
- draw_path(&c, r, NULL); |
+ draw_path(&c, r, nullptr); |
paint.setImageFilter(imf); |
canvas->save(); |
@@ -125,7 +125,7 @@ protected: |
SkImageFilter::CropRect::kHasAll_CropEdge); |
SkImageFilter* filters[] = { |
- NULL, |
+ nullptr, |
SkDropShadowImageFilter::Create(7.0f, 0.0f, 0.0f, 3.0f, SK_ColorBLUE, |
SkDropShadowImageFilter::kDrawShadowAndForeground_ShadowMode), |
SkDropShadowImageFilter::Create(0.0f, 7.0f, 3.0f, 0.0f, SK_ColorBLUE, |
@@ -133,11 +133,11 @@ protected: |
SkDropShadowImageFilter::Create(7.0f, 7.0f, 3.0f, 3.0f, SK_ColorBLUE, |
SkDropShadowImageFilter::kDrawShadowAndForeground_ShadowMode), |
SkDropShadowImageFilter::Create(7.0f, 7.0f, 3.0f, 3.0f, SK_ColorBLUE, |
- SkDropShadowImageFilter::kDrawShadowAndForeground_ShadowMode, cfif, NULL), |
+ SkDropShadowImageFilter::kDrawShadowAndForeground_ShadowMode, cfif, nullptr), |
SkDropShadowImageFilter::Create(7.0f, 7.0f, 3.0f, 3.0f, SK_ColorBLUE, |
- SkDropShadowImageFilter::kDrawShadowAndForeground_ShadowMode, NULL, &cropRect), |
+ SkDropShadowImageFilter::kDrawShadowAndForeground_ShadowMode, nullptr, &cropRect), |
SkDropShadowImageFilter::Create(7.0f, 7.0f, 3.0f, 3.0f, SK_ColorBLUE, |
- SkDropShadowImageFilter::kDrawShadowAndForeground_ShadowMode, NULL, &bogusRect), |
+ SkDropShadowImageFilter::kDrawShadowAndForeground_ShadowMode, nullptr, &bogusRect), |
SkDropShadowImageFilter::Create(7.0f, 7.0f, 3.0f, 3.0f, SK_ColorBLUE, |
SkDropShadowImageFilter::kDrawShadowOnly_ShadowMode), |
}; |