Index: tests/SerializationTest.cpp |
diff --git a/tests/SerializationTest.cpp b/tests/SerializationTest.cpp |
index b5582dccfc4201b376187a9d411f0687afe4b57b..23cc33dd4adf7de023e3a65f776c33f5234c6ab3 100644 |
--- a/tests/SerializationTest.cpp |
+++ b/tests/SerializationTest.cpp |
@@ -198,7 +198,7 @@ static T* TestFlattenableSerialization(T* testObj, bool shouldSucceed, |
// This should have succeeded, since there are enough bytes to read this |
REPORTER_ASSERT(reporter, buffer2.isValid()); |
REPORTER_ASSERT(reporter, static_cast<size_t>(peekAfter - peekBefore) == bytesWritten); |
- REPORTER_ASSERT(reporter, NULL != obj2); |
+ REPORTER_ASSERT(reporter, obj2); |
} else { |
// If the deserialization was supposed to fail, make sure it did |
REPORTER_ASSERT(reporter, !buffer.isValid()); |
@@ -490,7 +490,7 @@ DEF_TEST(Serialization, reporter) { |
SkValidatingReadBuffer reader(static_cast<void*>(data.get()), size); |
SkAutoTUnref<SkPicture> readPict( |
SkPicture::CreateFromBuffer(reader)); |
- REPORTER_ASSERT(reporter, NULL != readPict.get()); |
+ REPORTER_ASSERT(reporter, readPict.get()); |
} |
TestPictureTypefaceSerialization(reporter); |