| Index: Source/wtf/Assertions.h
|
| diff --git a/Source/wtf/Assertions.h b/Source/wtf/Assertions.h
|
| index 04eaa6e657b2c4e204f1290604c66442df8326b6..e4bd90feefadca9b650307a91d342b84129f4b59 100644
|
| --- a/Source/wtf/Assertions.h
|
| +++ b/Source/wtf/Assertions.h
|
| @@ -46,12 +46,12 @@
|
| // Users must test "#if ENABLE(ASSERT)", which helps ensure that code
|
| // testing this macro has included this header.
|
| #ifndef ENABLE_ASSERT
|
| -#ifdef NDEBUG
|
| +#if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON)
|
| /* Disable ASSERT* macros in release mode by default. */
|
| #define ENABLE_ASSERT 0
|
| #else
|
| #define ENABLE_ASSERT 1
|
| -#endif /* NDEBUG */
|
| +#endif /* defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON) */
|
| #endif
|
|
|
| #ifndef BACKTRACE_DISABLED
|
|
|