diff options
author | djsollen <djsollen@google.com> | 2016-01-29 08:51:04 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-29 08:51:04 -0800 |
commit | f2b340fc885ad2a12d2d73974eff9c8f4c94192c (patch) | |
tree | 1fbe8cefea121d557efb099ceea8c5fae0ac5e1e /src/gpu/GrAllocator.h | |
parent | 2a1d401bf2d500bab225b78a20cb6f16b2c67efb (diff) |
Consolidate SK_CRASH and sk_throw into SK_ABORT
TBR=reed@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1648343003
Review URL: https://codereview.chromium.org/1648343003
Diffstat (limited to 'src/gpu/GrAllocator.h')
-rw-r--r-- | src/gpu/GrAllocator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrAllocator.h b/src/gpu/GrAllocator.h index c5d2dc3d38..3305fb00c2 100644 --- a/src/gpu/GrAllocator.h +++ b/src/gpu/GrAllocator.h @@ -389,7 +389,7 @@ template <typename T> void* operator new(size_t size, GrTAllocator<T>* allocator // to match the op new silences warnings about missing op delete when a constructor throws an // exception. template <typename T> void operator delete(void*, GrTAllocator<T>*) { - SK_CRASH(); + SK_ABORT("Invalid Operation"); } #define GrNEW_APPEND_TO_ALLOCATOR(allocator_ptr, type_name, args) \ |