Index: src/gpu/effects/GrCoverageSetOpXP.cpp |
diff --git a/src/gpu/effects/GrCoverageSetOpXP.cpp b/src/gpu/effects/GrCoverageSetOpXP.cpp |
index 8a7c83bbfbb55c5893bea17adfda7c4c430200f2..8c45d22727ab18a28dfaf95d818ab5217dbc8287 100644 |
--- a/src/gpu/effects/GrCoverageSetOpXP.cpp |
+++ b/src/gpu/effects/GrCoverageSetOpXP.cpp |
@@ -216,7 +216,7 @@ GrXPFactory* GrCoverageSetOpXPFactory::Create(SkRegion::Op regionOp, bool invert |
break; |
} |
default: |
- return NULL; |
+ return nullptr; |
} |
} |
@@ -231,7 +231,7 @@ GrCoverageSetOpXPFactory::onCreateXferProcessor(const GrCaps& caps, |
// modulation table. Note that an inverted table still won't work if there are coverage procs. |
if (fInvertCoverage && hasMixedSamples) { |
SkASSERT(false); |
- return NULL; |
+ return nullptr; |
} |
return CoverageSetOpXP::Create(fRegionOp, fInvertCoverage); |