Index: bench/BlurImageFilterBench.cpp |
diff --git a/bench/BlurImageFilterBench.cpp b/bench/BlurImageFilterBench.cpp |
index ec8b9ef59d845fe671fb7fd13974018e42f1a449..8bfd005f44fc01f234e9f3ee1cb7f36cde5ac531 100644 |
--- a/bench/BlurImageFilterBench.cpp |
+++ b/bench/BlurImageFilterBench.cpp |
@@ -51,9 +51,9 @@ protected: |
SkIntToScalar(fCheckerboard.height())); |
const SkImageFilter::CropRect cropRect = |
SkImageFilter::CropRect(bmpRect.makeInset(10.f, 10.f)); |
- const SkImageFilter::CropRect* crop = fIsCropped ? &cropRect : NULL; |
+ const SkImageFilter::CropRect* crop = fIsCropped ? &cropRect : nullptr; |
- paint.setImageFilter(SkBlurImageFilter::Create(fSigmaX, fSigmaY, NULL, crop))->unref(); |
+ paint.setImageFilter(SkBlurImageFilter::Create(fSigmaX, fSigmaY, nullptr, crop))->unref(); |
for (int i = 0; i < loops; i++) { |
canvas->drawBitmap(fCheckerboard, kX, kY, &paint); |