diff options
Diffstat (limited to 'src/gpu/GrBufferedDrawTarget.h')
-rw-r--r-- | src/gpu/GrBufferedDrawTarget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrBufferedDrawTarget.h b/src/gpu/GrBufferedDrawTarget.h index 82421ab194..5a80a3ccfb 100644 --- a/src/gpu/GrBufferedDrawTarget.h +++ b/src/gpu/GrBufferedDrawTarget.h @@ -41,7 +41,7 @@ protected: memcpy(*indicesLocation, reinterpret_cast<const char*>(indexValues), count * indexBytes); const int xformBytes = GrPathRendering::PathTransformSize(transformType) * sizeof(float); - *xformsLocation = NULL; + *xformsLocation = nullptr; if (0 != xformBytes) { *xformsLocation = (float*) fPathTransformBuffer.alloc(count * xformBytes, @@ -59,7 +59,7 @@ private: typedef GrTargetCommands::StateForPathDraw StateForPathDraw; - StateForPathDraw* allocState(const GrPrimitiveProcessor* primProc = NULL) { + StateForPathDraw* allocState(const GrPrimitiveProcessor* primProc = nullptr) { void* allocation = fPipelineBuffer.alloc(sizeof(StateForPathDraw), SkChunkAlloc::kThrow_AllocFailType); return new (allocation) StateForPathDraw(primProc); |