diff options
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/GrAllocator.h | 2 | ||||
-rw-r--r-- | src/gpu/GrTRecorder.h | 2 |
2 files changed, 2 insertions, 2 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) \ diff --git a/src/gpu/GrTRecorder.h b/src/gpu/GrTRecorder.h index a838ad2955..c42d9e9751 100644 --- a/src/gpu/GrTRecorder.h +++ b/src/gpu/GrTRecorder.h @@ -378,7 +378,7 @@ template <typename TBase, typename TAlign, typename TItem> void operator delete(void*, GrTRecorder<TBase, TAlign>&, const GrTRecorderAllocWrapper<TItem>&) { // We only provide an operator delete to work around compiler warnings that can come // up for an unmatched operator new when compiling with exceptions. - SK_CRASH(); + SK_ABORT("Invalid Operation"); } #define GrNEW_APPEND_TO_RECORDER(recorder, type_name, args) \ |