summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/platform/mac/BlockExceptions.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/platform/mac/BlockExceptions.mm')
-rw-r--r--chromium/third_party/WebKit/Source/platform/mac/BlockExceptions.mm6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/third_party/WebKit/Source/platform/mac/BlockExceptions.mm b/chromium/third_party/WebKit/Source/platform/mac/BlockExceptions.mm
index 9a81d9aee72..9878324230d 100644
--- a/chromium/third_party/WebKit/Source/platform/mac/BlockExceptions.mm
+++ b/chromium/third_party/WebKit/Source/platform/mac/BlockExceptions.mm
@@ -30,9 +30,9 @@
void ReportBlockedObjCException(NSException *exception)
{
-#if ASSERT_DISABLED
- NSLog(@"*** WebKit discarding exception: <%@> %@", [exception name], [exception reason]);
-#else
+#if ASSERT_ENABLED
ASSERT_WITH_MESSAGE(0, "Uncaught exception - %@", exception);
+#else
+ NSLog(@"*** WebKit discarding exception: <%@> %@", [exception name], [exception reason]);
#endif
}