diff options
author | halcanary <halcanary@google.com> | 2015-08-27 07:41:13 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-27 07:41:16 -0700 |
commit | 96fcdcc219d2a0d3579719b84b28bede76efba64 (patch) | |
tree | 0ec5ea0193d8292df8bf5ed9dd8498a5eb5763dd /src/core/SkEndian.h | |
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/core/SkEndian.h')
-rw-r--r-- | src/core/SkEndian.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/SkEndian.h b/src/core/SkEndian.h index 0955fcc505..954afb046d 100644 --- a/src/core/SkEndian.h +++ b/src/core/SkEndian.h @@ -39,7 +39,7 @@ template<uint16_t N> struct SkTEndianSwap16 { low two bytes of each value in the array. */ static inline void SkEndianSwap16s(uint16_t array[], int count) { - SkASSERT(count == 0 || array != NULL); + SkASSERT(count == 0 || array != nullptr); while (--count >= 0) { *array = SkEndianSwap16(*array); @@ -68,7 +68,7 @@ template<uint32_t N> struct SkTEndianSwap32 { bytes of each value in the array. */ static inline void SkEndianSwap32s(uint32_t array[], int count) { - SkASSERT(count == 0 || array != NULL); + SkASSERT(count == 0 || array != nullptr); while (--count >= 0) { *array = SkEndianSwap32(*array); @@ -104,7 +104,7 @@ template<uint64_t N> struct SkTEndianSwap64 { bytes of each value in the array. */ static inline void SkEndianSwap64s(uint64_t array[], int count) { - SkASSERT(count == 0 || array != NULL); + SkASSERT(count == 0 || array != nullptr); while (--count >= 0) { *array = SkEndianSwap64(*array); |