Index: Source/core/workers/WorkerMessagingProxy.cpp |
diff --git a/Source/core/workers/WorkerMessagingProxy.cpp b/Source/core/workers/WorkerMessagingProxy.cpp |
index 46d09cffd0fab2db4b6f4f50a8110a102e3255d4..e5d91e905d7253492af56353b5ca4d7cf9d55ece 100644 |
--- a/Source/core/workers/WorkerMessagingProxy.cpp |
+++ b/Source/core/workers/WorkerMessagingProxy.cpp |
@@ -211,7 +211,7 @@ void WorkerMessagingProxy::workerObjectDestroyedInternal(ExecutionContext*, Work |
if (proxy->m_workerThread) |
proxy->terminateWorkerGlobalScope(); |
else |
- proxy->workerGlobalScopeDestroyed(); |
+ proxy->workerThreadTerminated(); |
} |
static void connectToWorkerGlobalScopeInspectorTask(ExecutionContext* context, bool) |
@@ -270,7 +270,7 @@ void WorkerMessagingProxy::writeTimelineStartedEvent(const String& sessionId) |
m_queuedEarlyTasks.append(task.release()); |
} |
-void WorkerMessagingProxy::workerGlobalScopeDestroyed() |
+void WorkerMessagingProxy::workerThreadTerminated() |
{ |
// This method is always the last to be performed, so the proxy is not needed for communication |
// in either side any more. However, the Worker object may still exist, and it assumes that the proxy exists, too. |