Index: src/gpu/GrMemoryPool.cpp |
diff --git a/src/gpu/GrMemoryPool.cpp b/src/gpu/GrMemoryPool.cpp |
index 8839c66d07c9e4b6c2427d6f15e55a8cf9209ff7..5009f20152d5d7813956d4539f7e86c21adc7a48 100644 |
--- a/src/gpu/GrMemoryPool.cpp |
+++ b/src/gpu/GrMemoryPool.cpp |
@@ -127,7 +127,7 @@ void GrMemoryPool::validate() { |
do { |
allocCount += block->fLiveCount; |
SkASSERT(prev == block->fPrev); |
- if (NULL != prev) { |
+ if (prev) { |
SkASSERT(prev->fNext == block); |
} |