diff options
Diffstat (limited to 'tests/CachedDataTest.cpp')
-rw-r--r-- | tests/CachedDataTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/CachedDataTest.cpp b/tests/CachedDataTest.cpp index e3ceeaf152..c3fc9a47bf 100644 --- a/tests/CachedDataTest.cpp +++ b/tests/CachedDataTest.cpp @@ -78,14 +78,14 @@ DEF_TEST(CachedData, reporter) { const size_t size = 100; // test with client as last owner - SkCachedData* data = test_locking(reporter, size, useDiscardable ? pool.get() : NULL); + SkCachedData* data = test_locking(reporter, size, useDiscardable ? pool.get() : nullptr); check_data(reporter, data, 2, kInCache, kLocked); data->detachFromCacheAndUnref(); check_data(reporter, data, 1, kNotInCache, kLocked); data->unref(); // test with cache as last owner - data = test_locking(reporter, size, useDiscardable ? pool.get() : NULL); + data = test_locking(reporter, size, useDiscardable ? pool.get() : nullptr); check_data(reporter, data, 2, kInCache, kLocked); data->unref(); check_data(reporter, data, 1, kInCache, kUnlocked); |