Index: src/core/SkRasterizer.cpp |
diff --git a/src/core/SkRasterizer.cpp b/src/core/SkRasterizer.cpp |
index ab9e011761bf54ae608c972989805ca7deb2348c..87b9caa242310e73ae42bf54403ca7f56be3f65d 100644 |
--- a/src/core/SkRasterizer.cpp |
+++ b/src/core/SkRasterizer.cpp |
@@ -23,7 +23,7 @@ bool SkRasterizer::rasterize(const SkPath& fillPath, const SkMatrix& matrix, |
srcM.fFormat = SkMask::kA8_Format; |
srcM.fBounds.set(0, 0, 1, 1); |
- srcM.fImage = NULL; |
+ srcM.fImage = nullptr; |
if (!filter->filterMask(&dstM, srcM, matrix, &margin)) { |
return false; |
} |
@@ -42,6 +42,6 @@ bool SkRasterizer::onRasterize(const SkPath& fillPath, const SkMatrix& matrix, |
SkPath devPath; |
fillPath.transform(matrix, &devPath); |
- return SkDraw::DrawToMask(devPath, clipBounds, NULL, NULL, mask, mode, |
+ return SkDraw::DrawToMask(devPath, clipBounds, nullptr, nullptr, mask, mode, |
SkPaint::kFill_Style); |
} |