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

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

Issue 331793004: Delete ASSERT_DISABLED (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add missing include Created 6 years, 6 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 | « Source/modules/webdatabase/DatabaseThread.cpp ('k') | Source/wtf/Assertions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/mac/BlockExceptions.mm
diff --git a/Source/platform/mac/BlockExceptions.mm b/Source/platform/mac/BlockExceptions.mm
index 9a81d9aee72d031ec4d17c80aab8609a8f921969..9878324230d58517d5534db037e31b84fa9e44e2 100644
--- a/Source/platform/mac/BlockExceptions.mm
+++ b/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
}
« no previous file with comments | « Source/modules/webdatabase/DatabaseThread.cpp ('k') | Source/wtf/Assertions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698