Index: src/pathops/SkDCubicLineIntersection.cpp |
diff --git a/src/pathops/SkDCubicLineIntersection.cpp b/src/pathops/SkDCubicLineIntersection.cpp |
index ee1e3d3a341c19ad48bbcaf3c9e41063b238456c..cbdce7789a800964d699393c0ec8d29f1b2951f5 100644 |
--- a/src/pathops/SkDCubicLineIntersection.cpp |
+++ b/src/pathops/SkDCubicLineIntersection.cpp |
@@ -98,7 +98,7 @@ public: |
for (int index = 0; index < last; ) { |
double cubicMidT = ((*fIntersections)[0][index] + (*fIntersections)[0][index + 1]) / 2; |
SkDPoint cubicMidPt = fCubic.ptAtT(cubicMidT); |
- double t = fLine.nearPoint(cubicMidPt, NULL); |
+ double t = fLine.nearPoint(cubicMidPt, nullptr); |
if (t < 0) { |
++index; |
continue; |
@@ -285,7 +285,7 @@ public: |
if (fIntersections->hasT(cubicT)) { |
continue; |
} |
- double lineT = fLine.nearPoint(fCubic[cIndex], NULL); |
+ double lineT = fLine.nearPoint(fCubic[cIndex], nullptr); |
if (lineT < 0) { |
continue; |
} |