diff options
author | bsalomon <bsalomon@google.com> | 2014-09-05 13:34:00 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-05 13:34:00 -0700 |
commit | 49f085dddff10473b6ebf832a974288300224e60 (patch) | |
tree | 308a3cac5e1fb053c9e27e7d07213d72eaa05409 /tests/RecordTestUtils.h | |
parent | 7260d7292bde966f038b8e166f3fe41ddd8f2099 (diff) |
"NULL !=" = NULL
R=reed@google.com
Author: bsalomon@google.com
Review URL: https://codereview.chromium.org/544233002
Diffstat (limited to 'tests/RecordTestUtils.h')
-rw-r--r-- | tests/RecordTestUtils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/RecordTestUtils.h b/tests/RecordTestUtils.h index db3f02d3a2..0575b83cdd 100644 --- a/tests/RecordTestUtils.h +++ b/tests/RecordTestUtils.h @@ -24,7 +24,7 @@ static const T* assert_type(skiatest::Reporter* r, const SkRecord& record, unsig ReadAs<T> reader; record.visit<void>(index, reader); REPORTER_ASSERT(r, T::kType == reader.type); - REPORTER_ASSERT(r, NULL != reader.ptr); + REPORTER_ASSERT(r, SkToBool(reader.ptr)); return reader.ptr; } |