| Index: third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp b/third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp
|
| index 79be6819f06d2d4093447ef13b30b950133827c2..a28ee9ee32730b1f6b0f084289fceb719a11bb62 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp
|
| @@ -48,14 +48,14 @@ static void removeWorkerIsolate(v8::Isolate* isolate)
|
| }
|
|
|
| WorkerBackingThread::WorkerBackingThread(const char* name, bool shouldCallGCOnShutdown)
|
| - : m_backingThread(WebThreadSupportingGC::create(name))
|
| + : m_backingThread(WebThreadSupportingGC::create(name, BlinkGC::MainThreadHeapMode))
|
| , m_isOwningThread(true)
|
| , m_shouldCallGCOnShutdown(shouldCallGCOnShutdown)
|
| {
|
| }
|
|
|
| WorkerBackingThread::WorkerBackingThread(WebThread* thread, bool shouldCallGCOnShutdown)
|
| - : m_backingThread(WebThreadSupportingGC::createForThread(thread, true))
|
| + : m_backingThread(WebThreadSupportingGC::createForThread(thread, BlinkGC::PerThreadHeapMode))
|
| , m_isOwningThread(false)
|
| , m_shouldCallGCOnShutdown(shouldCallGCOnShutdown)
|
| {
|
|
|