Index: bench/BlurRectBench.cpp |
diff --git a/bench/BlurRectBench.cpp b/bench/BlurRectBench.cpp |
index 8f8a2de25b33406d238ce0103a44a6b9e13875db..890a79e673fbec5c4b2a70fa7238b4fd5b2dd1f7 100644 |
--- a/bench/BlurRectBench.cpp |
+++ b/bench/BlurRectBench.cpp |
@@ -102,7 +102,7 @@ class BlurRectSeparableBench: public BlurRectBench { |
public: |
BlurRectSeparableBench(SkScalar rad) : INHERITED(rad) { |
- fSrcMask.fImage = NULL; |
+ fSrcMask.fImage = nullptr; |
} |
~BlurRectSeparableBench() { |
@@ -144,7 +144,7 @@ protected: |
void makeBlurryRect(const SkRect&) override { |
SkMask mask; |
- mask.fImage = NULL; |
+ mask.fImage = nullptr; |
SkBlurMask::BoxBlur(&mask, fSrcMask, SkBlurMask::ConvertRadiusToSigma(this->radius()), |
kNormal_SkBlurStyle, kHigh_SkBlurQuality); |
SkMask::FreeImage(mask.fImage); |
@@ -171,7 +171,7 @@ protected: |
void makeBlurryRect(const SkRect&) override { |
SkMask mask; |
- mask.fImage = NULL; |
+ mask.fImage = nullptr; |
SkBlurMask::BlurGroundTruth(SkBlurMask::ConvertRadiusToSigma(this->radius()), |
&mask, fSrcMask, kNormal_SkBlurStyle); |
SkMask::FreeImage(mask.fImage); |