Index: src/core/SkBuffer.cpp |
diff --git a/src/core/SkBuffer.cpp b/src/core/SkBuffer.cpp |
index 51c368abe8286a578e57f7e788d195c5fbf94164..86c3bed3f14ad2272b0aa851308757f557c86b85 100644 |
--- a/src/core/SkBuffer.cpp |
+++ b/src/core/SkBuffer.cpp |
@@ -22,7 +22,7 @@ void SkRBuffer::readNoSizeCheck(void* buffer, size_t size) |
const void* SkRBuffer::skip(size_t size) |
{ |
const void* result = fPos; |
- readNoSizeCheck(NULL, size); |
+ readNoSizeCheck(nullptr, size); |
return result; |
} |
@@ -45,8 +45,8 @@ bool SkRBufferWithSizeCheck::read(void* buffer, size_t size) { |
void* SkWBuffer::skip(size_t size) |
{ |
void* result = fPos; |
- writeNoSizeCheck(NULL, size); |
- return fData == NULL ? NULL : result; |
+ writeNoSizeCheck(nullptr, size); |
+ return fData == nullptr ? nullptr : result; |
} |
void SkWBuffer::writeNoSizeCheck(const void* buffer, size_t size) |