| Index: src/gpu/GrDefaultPathRenderer.cpp
|
| diff --git a/src/gpu/GrDefaultPathRenderer.cpp b/src/gpu/GrDefaultPathRenderer.cpp
|
| index cf3f0d336d7ea1d545f6b21bdbf7c994a8606636..f4ce7c85a52bfc9ca818dad8f87e477e35033f2e 100644
|
| --- a/src/gpu/GrDefaultPathRenderer.cpp
|
| +++ b/src/gpu/GrDefaultPathRenderer.cpp
|
| @@ -321,10 +321,10 @@ private:
|
| return;
|
| }
|
|
|
| - const GrIndexBuffer* indexBuffer = NULL;
|
| + const GrIndexBuffer* indexBuffer = nullptr;
|
| int firstIndex = 0;
|
|
|
| - void* indices = NULL;
|
| + void* indices = nullptr;
|
| if (isIndexed) {
|
| indices = target->makeIndexSpace(maxIndices, &indexBuffer, &firstIndex);
|
|
|
| @@ -569,7 +569,7 @@ bool GrDefaultPathRenderer::internalDrawPath(GrDrawTarget* target,
|
| if (stencilOnly) {
|
| passes[0] = &gDirectToStencil;
|
| } else {
|
| - passes[0] = NULL;
|
| + passes[0] = nullptr;
|
| }
|
| lastPassIsBounds = false;
|
| drawFace[0] = GrPipelineBuilder::kBoth_DrawFace;
|
| @@ -579,7 +579,7 @@ bool GrDefaultPathRenderer::internalDrawPath(GrDrawTarget* target,
|
| if (stencilOnly) {
|
| passes[0] = &gDirectToStencil;
|
| } else {
|
| - passes[0] = NULL;
|
| + passes[0] = nullptr;
|
| }
|
| drawFace[0] = GrPipelineBuilder::kBoth_DrawFace;
|
| lastPassIsBounds = false;
|
| @@ -710,7 +710,7 @@ bool GrDefaultPathRenderer::onCanDrawPath(const CanDrawPathArgs& args) const {
|
| // this class can draw any path with any fill but doesn't do any anti-aliasing.
|
| return !args.fAntiAlias && (args.fStroke->isFillStyle() ||
|
| IsStrokeHairlineOrEquivalent(*args.fStroke, *args.fViewMatrix,
|
| - NULL));
|
| + nullptr));
|
| }
|
|
|
| bool GrDefaultPathRenderer::onDrawPath(const DrawPathArgs& args) {
|
|
|