| Index: Source/core/workers/WorkerThread.cpp
|
| diff --git a/Source/core/workers/WorkerThread.cpp b/Source/core/workers/WorkerThread.cpp
|
| index 7205e54255b53fed4bf2b1fa0e88a1b50d25f090..2d4f884a4dd7faf10819784ab2d08c195fa878ab 100644
|
| --- a/Source/core/workers/WorkerThread.cpp
|
| +++ b/Source/core/workers/WorkerThread.cpp
|
| @@ -248,7 +248,7 @@ void WorkerThread::initialize()
|
| if (m_terminated) {
|
| // Notify the proxy that the WorkerGlobalScope has been disposed of.
|
| // This can free this thread object, hence it must not be touched afterwards.
|
| - m_workerReportingProxy.workerGlobalScopeDestroyed();
|
| + m_workerReportingProxy.workerThreadTerminated();
|
| return;
|
| }
|
|
|
| @@ -318,7 +318,7 @@ void WorkerThread::cleanup()
|
|
|
| // Notify the proxy that the WorkerGlobalScope has been disposed of.
|
| // This can free this thread object, hence it must not be touched afterwards.
|
| - workerReportingProxy().workerGlobalScopeDestroyed();
|
| + workerReportingProxy().workerThreadTerminated();
|
|
|
| // Clean up PlatformThreadData before WTF::WTFThreadData goes away!
|
| PlatformThreadData::current().destroy();
|
|
|