| Index: third_party/WebKit/Source/platform/heap/Heap.cpp
|
| diff --git a/third_party/WebKit/Source/platform/heap/Heap.cpp b/third_party/WebKit/Source/platform/heap/Heap.cpp
|
| index 2d986a19d314cef93105b33d3a40f0e93487e63d..b5665c53f93c821ea55d8207811f81d9ae528f80 100644
|
| --- a/third_party/WebKit/Source/platform/heap/Heap.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/Heap.cpp
|
| @@ -179,7 +179,7 @@ void ThreadHeap::detach(ThreadState* thread) {
|
| MutexLocker locker(m_threadAttachMutex);
|
| thread->runTerminationGC();
|
| ASSERT(m_threads.contains(thread));
|
| - m_threads.remove(thread);
|
| + m_threads.erase(thread);
|
| isLastThread = m_threads.isEmpty();
|
| }
|
| if (thread->isMainThread())
|
|
|