Index: src/effects/SkColorFilterImageFilter.cpp |
diff --git a/src/effects/SkColorFilterImageFilter.cpp b/src/effects/SkColorFilterImageFilter.cpp |
index 20dee8e639dc48431dac4ffcec6b6d5bf455abe2..e5f64ce2f95b24f7a8f8f6ba2441577b99b9228b 100644 |
--- a/src/effects/SkColorFilterImageFilter.cpp |
+++ b/src/effects/SkColorFilterImageFilter.cpp |
@@ -17,8 +17,8 @@ |
SkColorFilterImageFilter* SkColorFilterImageFilter::Create(SkColorFilter* cf, |
SkImageFilter* input, const CropRect* cropRect) { |
- if (NULL == cf) { |
- return NULL; |
+ if (nullptr == cf) { |
+ return nullptr; |
} |
SkColorFilter* inputCF; |
@@ -71,7 +71,7 @@ bool SkColorFilterImageFilter::onFilterImage(Proxy* proxy, const SkBitmap& sourc |
} |
SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(bounds.width(), bounds.height())); |
- if (NULL == device.get()) { |
+ if (nullptr == device.get()) { |
return false; |
} |
SkCanvas canvas(device.get()); |