Index: Source/platform/heap/ThreadState.cpp |
diff --git a/Source/platform/heap/ThreadState.cpp b/Source/platform/heap/ThreadState.cpp |
index dcb601d0303c5530c240cb241aecbff9eef83b17..a0143e6c2dd4a5b93ace10b87753adfb302bb072 100644 |
--- a/Source/platform/heap/ThreadState.cpp |
+++ b/Source/platform/heap/ThreadState.cpp |
@@ -1106,7 +1106,7 @@ void ThreadState::removeInterruptor(Interruptor* interruptor) |
{ |
MutexLocker locker(threadAttachMutex()); |
size_t index = m_interruptors.find(interruptor); |
- RELEASE_ASSERT(index >= 0); |
+ RELEASE_ASSERT(index != kNotFound); |
m_interruptors.remove(index); |
} |
} |