Index: Source/platform/Timer.cpp |
diff --git a/Source/platform/Timer.cpp b/Source/platform/Timer.cpp |
index c6b58b9d376d0c356453515f1b98e95e3b0a9a16..2bfd2df6e8c466069bb3267c6677caf6c1ab5e5e 100644 |
--- a/Source/platform/Timer.cpp |
+++ b/Source/platform/Timer.cpp |
@@ -191,7 +191,7 @@ TimerBase::TimerBase() |
, m_repeatInterval(0) |
, m_heapIndex(-1) |
, m_cachedThreadGlobalTimerHeap(0) |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
, m_thread(currentThread()) |
#endif |
{ |
@@ -348,7 +348,7 @@ void TimerBase::updateHeapIfNeeded(double oldTime) |
{ |
if (m_nextFireTime && hasValidHeapPosition()) |
return; |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
int oldHeapIndex = m_heapIndex; |
#endif |
if (!oldTime) |