Index: third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp |
diff --git a/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp b/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp |
index 5e2d3889c9569aea0ec6919f4f482c6f020f7389..4d5edffbbab47f835a3377f9c32824c1c93cbcb7 100644 |
--- a/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp |
+++ b/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp |
@@ -61,6 +61,11 @@ WorkerOrWorkletGlobalScope* DedicatedWorkerThread::createWorkerGlobalScope(std:: |
return DedicatedWorkerGlobalScope::create(this, std::move(startupData), m_timeOrigin); |
} |
+void DedicatedWorkerThread::clearWorkerBackingThread() |
+{ |
+ m_workerBackingThread = nullptr; |
+} |
+ |
void DedicatedWorkerThread::postInitialize() |
{ |
// Notify the parent object of our current active state before the event |