Index: Source/platform/Supplementable.h |
diff --git a/Source/platform/Supplementable.h b/Source/platform/Supplementable.h |
index aca4d42f2166f75d3b90efcf8a73a94db0229594..b35b0123550932ce185295a82d1fde00db242b95 100644 |
--- a/Source/platform/Supplementable.h |
+++ b/Source/platform/Supplementable.h |
@@ -32,7 +32,7 @@ |
#include "wtf/OwnPtr.h" |
#include "wtf/PassOwnPtr.h" |
-#if !ASSERT_DISABLED |
+#if ASSERT_ENABLED |
#include "wtf/Threading.h" |
#endif |
@@ -180,7 +180,7 @@ public: |
void reattachThread() |
{ |
-#if !ASSERT_DISABLED |
+#if ASSERT_ENABLED |
m_threadId = currentThread(); |
#endif |
} |
@@ -199,7 +199,7 @@ private: |
GC_PLUGIN_IGNORE("") |
typename SupplementableTraits<T, isGarbageCollected>::SupplementMap m_supplements; |
-#if !ASSERT_DISABLED |
+#if ASSERT_ENABLED |
protected: |
SupplementableBase() : m_threadId(currentThread()) { } |