diff options
author | 2015-08-27 07:41:13 -0700 | |
---|---|---|
committer | 2015-08-27 07:41:16 -0700 | |
commit | 96fcdcc219d2a0d3579719b84b28bede76efba64 (patch) | |
tree | 0ec5ea0193d8292df8bf5ed9dd8498a5eb5763dd /src/gpu/GrDefaultPathRenderer.cpp | |
parent | 435af2f736c85c3274a0c6760a3523810750d237 (diff) |
Style Change: NULL->nullptr
DOCS_PREVIEW= https://skia.org/?cl=1316233002
Review URL: https://codereview.chromium.org/1316233002
Diffstat (limited to 'src/gpu/GrDefaultPathRenderer.cpp')
-rw-r--r-- | src/gpu/GrDefaultPathRenderer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gpu/GrDefaultPathRenderer.cpp b/src/gpu/GrDefaultPathRenderer.cpp index cf3f0d336d..f4ce7c85a5 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) { |