Index: Source/core/events/EventListenerMap.h |
diff --git a/Source/core/events/EventListenerMap.h b/Source/core/events/EventListenerMap.h |
index 37d72dd3260ed594667623e4f99d1bac8c071927..77a5c665bc7d09d4aef0c0c67d477708e763dea6 100644 |
--- a/Source/core/events/EventListenerMap.h |
+++ b/Source/core/events/EventListenerMap.h |
@@ -67,7 +67,7 @@ private: |
Vector<std::pair<AtomicString, OwnPtr<EventListenerVector> >, 2> m_entries; |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
int m_activeIteratorCount; |
#endif |
}; |
@@ -77,7 +77,7 @@ class EventListenerIterator { |
public: |
EventListenerIterator(); |
EventListenerIterator(EventTarget*); |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
~EventListenerIterator(); |
#endif |
@@ -89,7 +89,7 @@ private: |
unsigned m_index; |
}; |
-#ifdef NDEBUG |
+#if !ENABLE(ASSERT) |
inline void EventListenerMap::assertNoActiveIterators() { } |
#endif |