| Index: tests/CachedDataTest.cpp
|
| diff --git a/tests/CachedDataTest.cpp b/tests/CachedDataTest.cpp
|
| index c3fc9a47bfd42e2856b72e96cf020f8d3bdda01f..6c441617072d28cb87f1e9bf250ded9932e87bcc 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);
|
|
|