Index: src/utils/SkBoundaryPatch.cpp |
diff --git a/src/utils/SkBoundaryPatch.cpp b/src/utils/SkBoundaryPatch.cpp |
index e5fcc4051bad0744caacef58b383531bd30cb234..7ef11ee245aaadf1727605e4ed2cc1ea59656347 100644 |
--- a/src/utils/SkBoundaryPatch.cpp |
+++ b/src/utils/SkBoundaryPatch.cpp |
@@ -7,7 +7,7 @@ |
*/ |
#include "SkBoundaryPatch.h" |
-SkBoundaryPatch::SkBoundaryPatch() : fBoundary(NULL) {} |
+SkBoundaryPatch::SkBoundaryPatch() : fBoundary(nullptr) {} |
SkBoundaryPatch::~SkBoundaryPatch() { |
SkSafeUnref(fBoundary); |
@@ -74,6 +74,6 @@ SkPoint SkCubicBoundary::eval(Edge e, SkScalar t) { |
fPts[12] = fPts[0]; |
SkPoint loc; |
- SkEvalCubicAt(&fPts[e * 3], t, &loc, NULL, NULL); |
+ SkEvalCubicAt(&fPts[e * 3], t, &loc, nullptr, nullptr); |
return loc; |
} |