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

Unified Diff: Source/platform/LayoutUnit.h

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed config.gni. Minor cleanups. 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/LayoutUnit.h
diff --git a/Source/platform/LayoutUnit.h b/Source/platform/LayoutUnit.h
index 4f677d1dd60f97ad79948760415d97bdbe7cf79e..b1d4d07aaedc56061fc6efd5756ad3b10d469356 100644
--- a/Source/platform/LayoutUnit.h
+++ b/Source/platform/LayoutUnit.h
@@ -40,7 +40,7 @@
namespace WebCore {
-#ifdef NDEBUG
+#if !ERROR_DISABLED
Ken Russell (switch to Gerrit) 2014/07/15 23:25:35 This seemed the closest #if guard to that covering
#define REPORT_OVERFLOW(doesOverflow) ((void)0)

Powered by Google App Engine
This is Rietveld 408576698