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

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

Issue 394353002: Replace tests of ASSERT_ENABLED with ENABLE(ASSERT). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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: Source/platform/mac/BlockExceptions.mm
diff --git a/Source/platform/mac/BlockExceptions.mm b/Source/platform/mac/BlockExceptions.mm
index 9878324230d58517d5534db037e31b84fa9e44e2..af3b879c7be29414eba8f21c67a7f0c5c9867de6 100644
--- a/Source/platform/mac/BlockExceptions.mm
+++ b/Source/platform/mac/BlockExceptions.mm
@@ -30,7 +30,7 @@
void ReportBlockedObjCException(NSException *exception)
{
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
ASSERT_WITH_MESSAGE(0, "Uncaught exception - %@", exception);
#else
NSLog(@"*** WebKit discarding exception: <%@> %@", [exception name], [exception reason]);

Powered by Google App Engine
This is Rietveld 408576698