aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/CachedDataTest.cpp
diff options
context:
space:
mode:
authorGravatar djsollen <djsollen@google.com>2016-01-22 06:04:55 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-01-22 06:04:55 -0800
commit4c5cd7d527ed29aabfa72aa47b23a4496eeda357 (patch)
tree49959934e26882dd38d3bb1939f7c9b60d70f10d /tests/CachedDataTest.cpp
parent6d3cef930ad19b0f55543ca40f7a07030f4fe508 (diff)
Consolidate SK_CRASH and sk_throw into SK_ABORT
Diffstat (limited to 'tests/CachedDataTest.cpp')
-rw-r--r--tests/CachedDataTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CachedDataTest.cpp b/tests/CachedDataTest.cpp
index c3fc9a47bf..6c44161707 100644
--- a/tests/CachedDataTest.cpp
+++ b/tests/CachedDataTest.cpp
@@ -30,7 +30,7 @@ static SkCachedData* make_data(size_t size, SkDiscardableMemoryPool* pool) {
if (pool) {
SkDiscardableMemory* dm = pool->create(size);
// the pool "can" return null, but it shouldn't in these controlled conditions
- SK_ALWAYSBREAK(dm);
+ SkASSERT_RELEASE(dm);
return new SkCachedData(size, dm);
} else {
return new SkCachedData(sk_malloc_throw(size), size);