Index: Source/wtf/RefCountedLeakCounter.cpp |
diff --git a/Source/wtf/RefCountedLeakCounter.cpp b/Source/wtf/RefCountedLeakCounter.cpp |
index 6c237b3e9d8caabc5e7aa5a75a803c52a54addeb..c14b7cab700038532af5e91b8802add311fc4ba9 100644 |
--- a/Source/wtf/RefCountedLeakCounter.cpp |
+++ b/Source/wtf/RefCountedLeakCounter.cpp |
@@ -20,16 +20,16 @@ |
#include "config.h" |
#include "RefCountedLeakCounter.h" |
- |
-#ifndef NDEBUG |
#include "wtf/Assertions.h" |
+ |
+#if ENABLE(ASSERT) |
#include "wtf/Atomics.h" |
#include "wtf/HashCountedSet.h" |
#endif |
namespace WTF { |
-#ifdef NDEBUG |
+#if !ENABLE(ASSERT) |
void RefCountedLeakCounter::suppressMessages(const char*) { } |
void RefCountedLeakCounter::cancelMessageSuppression(const char*) { } |