From 96fcdcc219d2a0d3579719b84b28bede76efba64 Mon Sep 17 00:00:00 2001 From: halcanary Date: Thu, 27 Aug 2015 07:41:13 -0700 Subject: Style Change: NULL->nullptr DOCS_PREVIEW= https://skia.org/?cl=1316233002 Review URL: https://codereview.chromium.org/1316233002 --- tests/PathOpsTSectDebug.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/PathOpsTSectDebug.h') diff --git a/tests/PathOpsTSectDebug.h b/tests/PathOpsTSectDebug.h index 5780610c9b..51532f8476 100644 --- a/tests/PathOpsTSectDebug.h +++ b/tests/PathOpsTSectDebug.h @@ -21,13 +21,13 @@ const SkTSpan* SkTSect::debugSpan(int id) co return test; } } while ((test = test->next())); - return NULL; + return nullptr; } template const SkTSpan* SkTSect::debugT(double t) const { const SkTSpan* test = fHead; - const SkTSpan* closest = NULL; + const SkTSpan* closest = nullptr; double bestDist = DBL_MAX; do { if (between(test->fStartT, t, test->fEndT)) { @@ -132,12 +132,12 @@ void SkTSect::dumpCurves() const { template const SkTSpan* SkTSpan::debugSpan(int id) const { - return SkDEBUGRELEASE(fDebugSect->debugSpan(id), NULL); + return SkDEBUGRELEASE(fDebugSect->debugSpan(id), nullptr); } template const SkTSpan* SkTSpan::debugT(double t) const { - return SkDEBUGRELEASE(fDebugSect->debugT(t), NULL); + return SkDEBUGRELEASE(fDebugSect->debugT(t), nullptr); } template -- cgit v1.2.3