aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkTArray.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkTArray.h')
-rw-r--r--include/core/SkTArray.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkTArray.h b/include/core/SkTArray.h
index 6c76c78094..06a85bc439 100644
--- a/include/core/SkTArray.h
+++ b/include/core/SkTArray.h
@@ -384,7 +384,7 @@ protected:
gMIN_ALLOC_COUNT;
fPreAllocMemArray = preAllocStorage;
if (fReserveCount >= fCount &&
- NULL != preAllocStorage) {
+ preAllocStorage) {
fAllocCount = fReserveCount;
fMemArray = preAllocStorage;
} else {
@@ -427,7 +427,7 @@ private:
fAllocCount = newAllocCount;
char* newMemArray;
- if (fAllocCount == fReserveCount && NULL != fPreAllocMemArray) {
+ if (fAllocCount == fReserveCount && fPreAllocMemArray) {
newMemArray = (char*) fPreAllocMemArray;
} else {
newMemArray = (char*) sk_malloc_throw(fAllocCount*sizeof(T));