diff options
author | halcanary <halcanary@google.com> | 2015-08-27 07:41:13 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-27 07:41:16 -0700 |
commit | 96fcdcc219d2a0d3579719b84b28bede76efba64 (patch) | |
tree | 0ec5ea0193d8292df8bf5ed9dd8498a5eb5763dd /tests/CachedDataTest.cpp | |
parent | 435af2f736c85c3274a0c6760a3523810750d237 (diff) | |
download | platform_external_skqp-96fcdcc219d2a0d3579719b84b28bede76efba64.tar.gz platform_external_skqp-96fcdcc219d2a0d3579719b84b28bede76efba64.tar.bz2 platform_external_skqp-96fcdcc219d2a0d3579719b84b28bede76efba64.zip |
Style Change: NULL->nullptr
DOCS_PREVIEW= https://skia.org/?cl=1316233002
Review URL: https://codereview.chromium.org/1316233002
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); |