Index: third_party/WebKit/Source/platform/wtf/Assertions.h |
diff --git a/third_party/WebKit/Source/platform/wtf/Assertions.h b/third_party/WebKit/Source/platform/wtf/Assertions.h |
index a39a133e2cac655c8846ee4245d21ea46309a3e0..33e2b7a1308489583c7ab9162a5d48baaa3d1684 100644 |
--- a/third_party/WebKit/Source/platform/wtf/Assertions.h |
+++ b/third_party/WebKit/Source/platform/wtf/Assertions.h |
@@ -120,27 +120,10 @@ class WTF_EXPORT ScopedLogger { |
#define CRASH() IMMEDIATE_CRASH() |
#endif |
-// ASSERT |
-// These macros are compiled out of release builds. |
-// Expressions inside them are evaluated in debug builds only. |
-// This is deprecated. We should use: |
-// - DCHECK() for ASSERT() |
-#if OS(WIN) |
-// FIXME: Change to use something other than ASSERT to avoid this conflict with |
-// the underlying platform. |
-#undef ASSERT |
-#endif |
- |
#define DCHECK_AT(assertion, file, line) \ |
LAZY_STREAM(logging::LogMessage(file, line, #assertion).stream(), \ |
DCHECK_IS_ON() ? !(assertion) : false) |
-#if DCHECK_IS_ON() |
-#define ASSERT(assertion) DCHECK(assertion) |
-#else |
-#define ASSERT(assertion) ((void)0) |
-#endif |
- |
// Users must test "#if ENABLE(SECURITY_ASSERT)", which helps ensure |
// that code testing this macro has included this header. |
#if defined(ADDRESS_SANITIZER) || DCHECK_IS_ON() |