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

Unified Diff: third_party/WebKit/Source/platform/mac/BlockExceptions.mm

Issue 2919443002: Use IMMEDIATE_CRASH() instead of CRASH() directly (Closed)
Patch Set: Use IMMEDIATE_CRASH() instead of CRASH() directly Created 3 years, 7 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
Index: third_party/WebKit/Source/platform/mac/BlockExceptions.mm
diff --git a/third_party/WebKit/Source/platform/mac/BlockExceptions.mm b/third_party/WebKit/Source/platform/mac/BlockExceptions.mm
index ac7f8f2c4f9717dc8f1477ccbf6080aeffb8650b..6ae8c8936b71dcdbe994d9cf72b4f3387a99c64f 100644
--- a/third_party/WebKit/Source/platform/mac/BlockExceptions.mm
+++ b/third_party/WebKit/Source/platform/mac/BlockExceptions.mm
@@ -33,7 +33,7 @@ void ReportBlockedObjCException(NSException* exception) {
<< [[exception description] UTF8String];
// This function is marked as NO_RETURN_DUE_TO_ASSERT, but NOTREACHED() and
// DCHECK(false) are not recognized as NO_RETURN.
- CRASH();
+ IMMEDIATE_CRASH();
#else
NSLog(@"*** WebKit discarding exception: <%@> %@", [exception name],
[exception reason]);
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp ('k') | third_party/WebKit/Source/platform/wtf/Assertions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698