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

Unified Diff: Source/wtf/Assertions.h

Issue 102123002: Enable ASSERT when DCHECK_ALWAYS_ON is defined. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: WIP Created 7 years 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/web/web_tests.gyp ('k') | Source/wtf/wtf.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/Assertions.h
diff --git a/Source/wtf/Assertions.h b/Source/wtf/Assertions.h
index 6f87f9888e5f34353544c19cbd759cdb4744f264..c1997e91bb8e51c296a3cfb679937150cd246325 100644
--- a/Source/wtf/Assertions.h
+++ b/Source/wtf/Assertions.h
@@ -43,12 +43,14 @@
#include "wtf/Compiler.h"
#include "wtf/WTFExport.h"
+#ifndef ASSERTIONS_DISABLED_DEFAULT
#ifdef NDEBUG
/* Disable ASSERT* macros in release mode. */
#define ASSERTIONS_DISABLED_DEFAULT 1
#else
#define ASSERTIONS_DISABLED_DEFAULT 0
#endif
+#endif
#ifndef BACKTRACE_DISABLED
#define BACKTRACE_DISABLED ASSERTIONS_DISABLED_DEFAULT
« no previous file with comments | « Source/web/web_tests.gyp ('k') | Source/wtf/wtf.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698