Index: src/effects/gradients/SkRadialGradient.cpp |
diff --git a/src/effects/gradients/SkRadialGradient.cpp b/src/effects/gradients/SkRadialGradient.cpp |
index 7e249496ce5da35d8b67f9b8c4dcc0bd0a9605aa..3a1a21e83c26fffbd48444547a099487b1eec1b4 100644 |
--- a/src/effects/gradients/SkRadialGradient.cpp |
+++ b/src/effects/gradients/SkRadialGradient.cpp |
@@ -237,7 +237,7 @@ SkShader::GradientType SkRadialGradient::asAGradient(GradientInfo* info) const { |
SkFlattenable* SkRadialGradient::CreateProc(SkReadBuffer& buffer) { |
DescriptorScope desc; |
if (!desc.unflatten(buffer)) { |
- return NULL; |
+ return nullptr; |
} |
const SkPoint center = buffer.readPoint(); |
const SkScalar radius = buffer.readScalar(); |
@@ -495,7 +495,7 @@ GrFragmentProcessor* GrRadialGradient::TestCreate(GrProcessorTestData* d) { |
GrColor paintColor; |
GrFragmentProcessor* fp; |
SkAssertResult(shader->asFragmentProcessor(d->fContext, paint, |
- GrTest::TestMatrix(d->fRandom), NULL, |
+ GrTest::TestMatrix(d->fRandom), nullptr, |
&paintColor, d->fProcDataManager, &fp)); |
return fp; |
} |