| Index: src/gpu/GrBufferedDrawTarget.h
|
| diff --git a/src/gpu/GrBufferedDrawTarget.h b/src/gpu/GrBufferedDrawTarget.h
|
| index 82421ab19407659888c9cf873272c3d62490782c..5a80a3ccfb380267b0e3509f5fad14975a45cd8e 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);
|
|
|