| Index: third_party/WebKit/Source/core/workers/WorkletThreadHolder.h
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkletThreadHolder.h b/third_party/WebKit/Source/core/workers/WorkletThreadHolder.h
|
| index 0f8c2a907f43c4889b45c813431c2a6ccb6f7fbf..d6f11c3ff84a15973872a4968d81ecaff437be81 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkletThreadHolder.h
|
| +++ b/third_party/WebKit/Source/core/workers/WorkletThreadHolder.h
|
| @@ -24,15 +24,13 @@ class WorkletThreadHolder {
|
| return s_threadHolderInstance;
|
| }
|
|
|
| - static void ensureInstance(const char* threadName,
|
| - BlinkGC::ThreadHeapMode threadHeapMode) {
|
| + static void ensureInstance(const char* threadName) {
|
| DCHECK(isMainThread());
|
| MutexLocker locker(holderInstanceMutex());
|
| if (s_threadHolderInstance)
|
| return;
|
| s_threadHolderInstance = new WorkletThreadHolder<DerivedWorkletThread>;
|
| - s_threadHolderInstance->initialize(
|
| - WorkerBackingThread::create(threadName, threadHeapMode));
|
| + s_threadHolderInstance->initialize(WorkerBackingThread::create(threadName));
|
| }
|
|
|
| static void ensureInstance(WebThread* thread) {
|
| @@ -44,13 +42,12 @@ class WorkletThreadHolder {
|
| s_threadHolderInstance->initialize(WorkerBackingThread::create(thread));
|
| }
|
|
|
| - static void createForTest(const char* threadName,
|
| - BlinkGC::ThreadHeapMode threadHeapMode) {
|
| + static void createForTest(const char* threadName) {
|
| MutexLocker locker(holderInstanceMutex());
|
| DCHECK(!s_threadHolderInstance);
|
| s_threadHolderInstance = new WorkletThreadHolder<DerivedWorkletThread>;
|
| s_threadHolderInstance->initialize(
|
| - WorkerBackingThread::createForTest(threadName, threadHeapMode));
|
| + WorkerBackingThread::createForTest(threadName));
|
| }
|
|
|
| static void createForTest(WebThread* thread) {
|
|
|