Index: src/effects/gradients/SkRadialGradient.cpp |
diff --git a/src/effects/gradients/SkRadialGradient.cpp b/src/effects/gradients/SkRadialGradient.cpp |
index bcedb7f2e8862faa4a2a17bfa0d9bec4339e3d8e..a3afe5afc9b1faf9f455b36f3c9e429810919f4c 100644 |
--- a/src/effects/gradients/SkRadialGradient.cpp |
+++ b/src/effects/gradients/SkRadialGradient.cpp |
@@ -314,7 +314,8 @@ sk_sp<GrFragmentProcessor> GrRadialGradient::TestCreate(GrProcessorTestData* d) |
auto shader = SkGradientShader::MakeRadial(center, radius, colors, stops, colorCount, tm); |
SkMatrix viewMatrix = GrTest::TestMatrix(d->fRandom); |
sk_sp<GrFragmentProcessor> fp = shader->asFragmentProcessor(SkShader::AsFPArgs( |
- d->fContext, &viewMatrix, NULL, kNone_SkFilterQuality, SkSourceGammaTreatment::kRespect)); |
+ d->fContext, &viewMatrix, NULL, kNone_SkFilterQuality, nullptr, |
+ SkSourceGammaTreatment::kRespect)); |
GrAlwaysAssert(fp); |
return fp; |
} |