Index: tests/SkResourceCacheTest.cpp |
diff --git a/tests/SkResourceCacheTest.cpp b/tests/SkResourceCacheTest.cpp |
index dbd327cd126cfd22a15689321c62c442ba508e73..b660890e87dfd0d81e696c4346c4248479272227 100644 |
--- a/tests/SkResourceCacheTest.cpp |
+++ b/tests/SkResourceCacheTest.cpp |
@@ -79,7 +79,7 @@ static SkBitmap createAllocatedBitmap(const SkImageInfo& info) { |
SkBitmap cachedBitmap; |
cachedBitmap.setInfo(info); |
SkBitmap::Allocator* allocator = SkBitmapCache::GetAllocator(); |
- if (NULL != allocator) { |
+ if (allocator) { |
allocator->allocPixelRef(&cachedBitmap, 0); |
} else { |
cachedBitmap.allocPixels(); |