| 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 bd3819fcb15931f2ec700d1170fef52f838932fb..644068eeef94e5ca4b7361d29aa53f9d9fb8a85b 100644
|
| --- a/third_party/WebKit/Source/platform/heap/Heap.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/Heap.cpp
|
| @@ -284,7 +284,7 @@ void ThreadHeap::detach(ThreadState* thread)
|
| // be the main thread for the mainThreadHeap and a per thread heap enabled
|
| // thread otherwise.
|
| if (isLastThread)
|
| - DCHECK(thread->perThreadHeapEnabled() || thread->isMainThread());
|
| + DCHECK(thread->threadHeapMode() == BlinkGC::PerThreadHeapMode || thread->isMainThread());
|
| if (thread->isMainThread())
|
| DCHECK_EQ(heapStats().allocatedSpace(), 0u);
|
| if (isLastThread)
|
|
|