From 49f085dddff10473b6ebf832a974288300224e60 Mon Sep 17 00:00:00 2001 From: bsalomon Date: Fri, 5 Sep 2014 13:34:00 -0700 Subject: "NULL !=" = NULL R=reed@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/544233002 --- tests/MallocPixelRefTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/MallocPixelRefTest.cpp') 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 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(new uint8_t[size]); -- cgit v1.2.3