Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Unified Diff: src/core/SkEndian.h

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 EDT Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkEmptyShader.h ('k') | src/core/SkError.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkEndian.h
diff --git a/src/core/SkEndian.h b/src/core/SkEndian.h
index 0955fcc505dab6add8c8ffabed3279ed9cc2ed72..954afb046d913aac5d07982a73e292d3003e0ef0 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);
« no previous file with comments | « src/core/SkEmptyShader.h ('k') | src/core/SkError.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698