Index: src/effects/SkBitmapSource.cpp |
diff --git a/src/effects/SkBitmapSource.cpp b/src/effects/SkBitmapSource.cpp |
index ecaffcf7c9b2378517ec92d0a8bb38741b444a5d..5b1934f68a4d1433d85d44c779ede363d33a683c 100644 |
--- a/src/effects/SkBitmapSource.cpp |
+++ b/src/effects/SkBitmapSource.cpp |
@@ -43,7 +43,7 @@ SkFlattenable* SkBitmapSource::CreateProc(SkReadBuffer& buffer) { |
buffer.readRect(&dst); |
SkBitmap bitmap; |
if (!buffer.readBitmap(&bitmap)) { |
- return NULL; |
+ return nullptr; |
} |
return SkBitmapSource::Create(bitmap, src, dst, filterQuality); |
} |
@@ -69,7 +69,7 @@ bool SkBitmapSource::onFilterImage(Proxy* proxy, const SkBitmap&, const Context& |
const SkIRect dstIRect = dstRect.roundOut(); |
SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(dstIRect.width(), dstIRect.height())); |
- if (NULL == device.get()) { |
+ if (nullptr == device.get()) { |
return false; |
} |