Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(443)

Unified Diff: src/pathops/SkOpCoincidence.h

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 EDT Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/pathops/SkOpBuilder.cpp ('k') | src/pathops/SkOpCoincidence.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pathops/SkOpCoincidence.h
diff --git a/src/pathops/SkOpCoincidence.h b/src/pathops/SkOpCoincidence.h
index 83ba70a0f917841c9dcd93a74db2ea56ec739e6c..86c6577739bd4979049386f920fc93d3601ae2c8 100644
--- a/src/pathops/SkOpCoincidence.h
+++ b/src/pathops/SkOpCoincidence.h
@@ -27,9 +27,9 @@ struct SkCoincidentSpans {
class SkOpCoincidence {
public:
SkOpCoincidence()
- : fHead(NULL)
- , fTop(NULL)
- SkDEBUGPARAMS(fDebugState(NULL))
+ : fHead(nullptr)
+ , fTop(nullptr)
+ SkDEBUGPARAMS(fDebugState(nullptr))
{
}
@@ -43,19 +43,19 @@ public:
SkOpPtT* oppPtTEnd, bool flipped);
const SkOpAngle* debugAngle(int id) const {
- return SkDEBUGRELEASE(fDebugState->debugAngle(id), NULL);
+ return SkDEBUGRELEASE(fDebugState->debugAngle(id), nullptr);
}
SkOpContour* debugContour(int id) {
- return SkDEBUGRELEASE(fDebugState->debugContour(id), NULL);
+ return SkDEBUGRELEASE(fDebugState->debugContour(id), nullptr);
}
const SkOpPtT* debugPtT(int id) const {
- return SkDEBUGRELEASE(fDebugState->debugPtT(id), NULL);
+ return SkDEBUGRELEASE(fDebugState->debugPtT(id), nullptr);
}
const SkOpSegment* debugSegment(int id) const {
- return SkDEBUGRELEASE(fDebugState->debugSegment(id), NULL);
+ return SkDEBUGRELEASE(fDebugState->debugSegment(id), nullptr);
}
void debugSetGlobalState(SkOpGlobalState* debugState) {
@@ -65,7 +65,7 @@ public:
void debugShowCoincidence() const;
const SkOpSpanBase* debugSpan(int id) const {
- return SkDEBUGRELEASE(fDebugState->debugSpan(id), NULL);
+ return SkDEBUGRELEASE(fDebugState->debugSpan(id), nullptr);
}
void detach(SkCoincidentSpans* );
« no previous file with comments | « src/pathops/SkOpBuilder.cpp ('k') | src/pathops/SkOpCoincidence.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698