Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2668)

Unified Diff: Source/platform/heap/ThreadState.cpp

Issue 843263003: Tidy up ThreadState::removeInterruptor() assert. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698