Index: src/core/SkVarAlloc.cpp |
diff --git a/src/core/SkVarAlloc.cpp b/src/core/SkVarAlloc.cpp |
index 5d395d48418c234f8992ee36e5bc6ce1b0a86615..f95370585d06f9aee8bbb028c3ecda835f4c245b 100644 |
--- a/src/core/SkVarAlloc.cpp |
+++ b/src/core/SkVarAlloc.cpp |
@@ -28,17 +28,17 @@ struct SkVarAlloc::Block { |
SkVarAlloc::SkVarAlloc(size_t minLgSize) |
: fBytesAllocated(0) |
- , fByte(NULL) |
+ , fByte(nullptr) |
, fRemaining(0) |
, fLgSize(minLgSize) |
- , fBlock(NULL) {} |
+ , fBlock(nullptr) {} |
SkVarAlloc::SkVarAlloc(size_t minLgSize, char* storage, size_t len) |
: fBytesAllocated(0) |
, fByte(storage) |
, fRemaining(len) |
, fLgSize(minLgSize) |
- , fBlock(NULL) {} |
+ , fBlock(nullptr) {} |
SkVarAlloc::~SkVarAlloc() { |
Block* b = fBlock; |