Index: tests/MallocPixelRefTest.cpp |
diff --git a/tests/MallocPixelRefTest.cpp b/tests/MallocPixelRefTest.cpp |
index cf5e054220e3390f68987de8eebd40e54930d64e..c20c8836b2dc93a3ff4c2a3080e22e91466c971f 100644 |
--- a/tests/MallocPixelRefTest.cpp |
+++ b/tests/MallocPixelRefTest.cpp |
@@ -64,7 +64,7 @@ DEF_TEST(MallocPixelRef, reporter) { |
SkAutoTUnref<SkMallocPixelRef> pr( |
SkMallocPixelRef::NewAllocate(info, rowBytes, NULL)); |
REPORTER_ASSERT(reporter, pr.get() != NULL); |
- REPORTER_ASSERT(reporter, NULL != pr->pixels()); |
+ REPORTER_ASSERT(reporter, pr->pixels()); |
} |
{ |
void* addr = static_cast<void*>(new uint8_t[size]); |