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 d657279518e0124ef35fc55b6b85a892e2f49969..e81a7d6f159ae800be160a37e3a6ad3ea89feaf9 100644 |
--- a/third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp |
+++ b/third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp |
@@ -47,15 +47,15 @@ static void removeWorkerIsolate(v8::Isolate* isolate) |
isolates().remove(isolate); |
} |
-WorkerBackingThread::WorkerBackingThread(const char* name, bool shouldCallGCOnShutdown) |
- : m_backingThread(WebThreadSupportingGC::create(name)) |
+WorkerBackingThread::WorkerBackingThread(const char* name, bool shouldCallGCOnShutdown, bool enablePerThreadHeap) |
+ : m_backingThread(WebThreadSupportingGC::create(name, enablePerThreadHeap)) |
, m_isOwningThread(true) |
, m_shouldCallGCOnShutdown(shouldCallGCOnShutdown) |
{ |
} |
WorkerBackingThread::WorkerBackingThread(WebThread* thread, bool shouldCallGCOnShutdown) |
- : m_backingThread(WebThreadSupportingGC::createForThread(thread)) |
+ : m_backingThread(WebThreadSupportingGC::createForThread(thread, true)) |
, m_isOwningThread(false) |
, m_shouldCallGCOnShutdown(shouldCallGCOnShutdown) |
{ |