aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/MallocPixelRefTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/MallocPixelRefTest.cpp')
-rw-r--r--tests/MallocPixelRefTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/MallocPixelRefTest.cpp b/tests/MallocPixelRefTest.cpp
index cf5e054220..c20c8836b2 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]);