Index: src/effects/gradients/SkSweepGradient.cpp |
diff --git a/src/effects/gradients/SkSweepGradient.cpp b/src/effects/gradients/SkSweepGradient.cpp |
index 9e44b70298e65c470e780999b58880850de47fdb..c6699e87e0fabe0877c46013da16a8339879e0e7 100644 |
--- a/src/effects/gradients/SkSweepGradient.cpp |
+++ b/src/effects/gradients/SkSweepGradient.cpp |
@@ -33,7 +33,7 @@ SkShader::GradientType SkSweepGradient::asAGradient(GradientInfo* info) const { |
SkFlattenable* SkSweepGradient::CreateProc(SkReadBuffer& buffer) { |
DescriptorScope desc; |
if (!desc.unflatten(buffer)) { |
- return NULL; |
+ return nullptr; |
} |
const SkPoint center = buffer.readPoint(); |
return SkGradientShader::CreateSweep(center.x(), center.y(), desc.fColors, desc.fPos, |
@@ -240,7 +240,7 @@ GrFragmentProcessor* GrSweepGradient::TestCreate(GrProcessorTestData* d) { |
GrFragmentProcessor* fp; |
GrColor paintColor; |
SkAssertResult(shader->asFragmentProcessor(d->fContext, paint, |
- GrTest::TestMatrix(d->fRandom), NULL, |
+ GrTest::TestMatrix(d->fRandom), nullptr, |
&paintColor, d->fProcDataManager, &fp)); |
return fp; |
} |