Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1061)

Unified Diff: src/ports/SkMemory_malloc.cpp

Issue 1648343003: Consolidate SK_CRASH and sk_throw into SK_ABORT (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ports/SkFontMgr_win_dw.cpp ('k') | src/ports/SkMemory_mozalloc.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ports/SkMemory_malloc.cpp
diff --git a/src/ports/SkMemory_malloc.cpp b/src/ports/SkMemory_malloc.cpp
index 6ad01daca0fe0b58115ae0f0c76e9131862bc87b..008352ec4abd5a75da7d4fc2875903cc32ac71e9 100644
--- a/src/ports/SkMemory_malloc.cpp
+++ b/src/ports/SkMemory_malloc.cpp
@@ -26,8 +26,7 @@ static inline void* throw_on_failure(size_t size, void* p) {
return p;
}
-void sk_throw() {
- SkDEBUGFAIL("sk_throw");
+void sk_abort_no_print() {
abort();
}
« no previous file with comments | « src/ports/SkFontMgr_win_dw.cpp ('k') | src/ports/SkMemory_mozalloc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698