aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GrAllocatorTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/GrAllocatorTest.cpp')
-rw-r--r--tests/GrAllocatorTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/GrAllocatorTest.cpp b/tests/GrAllocatorTest.cpp
index a05da8fc6c..c02a7ca9af 100644
--- a/tests/GrAllocatorTest.cpp
+++ b/tests/GrAllocatorTest.cpp
@@ -30,7 +30,7 @@ static void check_allocator_helper(GrTAllocator<C>* allocator, int cnt, int popC
// again. Finally it resets the allocator and checks again.
static void check_allocator(GrTAllocator<C>* allocator, int cnt, int popCnt,
skiatest::Reporter* reporter) {
- SkASSERT(NULL != allocator);
+ SkASSERT(allocator);
SkASSERT(allocator->empty());
for (int i = 0; i < cnt; ++i) {
// Try both variations of push_back().