aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/CachedDataTest.cpp
diff options
context:
space:
mode:
authorGravatar djsollen <djsollen@google.com>2016-01-29 08:51:04 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-01-29 08:51:04 -0800
commitf2b340fc885ad2a12d2d73974eff9c8f4c94192c (patch)
tree1fbe8cefea121d557efb099ceea8c5fae0ac5e1e /tests/CachedDataTest.cpp
parent2a1d401bf2d500bab225b78a20cb6f16b2c67efb (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);