aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTRecorder.h
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 /src/gpu/GrTRecorder.h
parent6d3cef930ad19b0f55543ca40f7a07030f4fe508 (diff)
Consolidate SK_CRASH and sk_throw into SK_ABORT
Diffstat (limited to 'src/gpu/GrTRecorder.h')
-rw-r--r--src/gpu/GrTRecorder.h2
1 files changed, 1 insertions, 1 deletions
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) \