| 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 046c80f9f47ef72e7bdf9b641fac5b585df8b917..f17639035539f6619f796635bba8aabb0995cd3d 100644
|
| --- a/third_party/WebKit/Source/platform/heap/Heap.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/Heap.cpp
|
| @@ -256,12 +256,6 @@ void ThreadHeap::detach(ThreadState* thread) {
|
| m_threads.remove(thread);
|
| isLastThread = m_threads.isEmpty();
|
| }
|
| - // The last thread begin detached should be the owning thread, which would
|
| - // be the main thread for the mainThreadHeap and a per thread heap enabled
|
| - // thread otherwise.
|
| - if (isLastThread)
|
| - DCHECK(thread->threadHeapMode() == BlinkGC::PerThreadHeapMode ||
|
| - thread->isMainThread());
|
| if (thread->isMainThread())
|
| DCHECK_EQ(heapStats().allocatedSpace(), 0u);
|
| if (isLastThread)
|
|
|