Index: third_party/WebKit/Source/core/workers/SharedWorkerThread.cpp |
diff --git a/third_party/WebKit/Source/core/workers/SharedWorkerThread.cpp b/third_party/WebKit/Source/core/workers/SharedWorkerThread.cpp |
index 3a4cd8a49b8354ca10af60b154c37d2ab909dae7..a80450ea0110cb956b7adc9ea0b9bc43a8024880 100644 |
--- a/third_party/WebKit/Source/core/workers/SharedWorkerThread.cpp |
+++ b/third_party/WebKit/Source/core/workers/SharedWorkerThread.cpp |
@@ -54,6 +54,11 @@ SharedWorkerThread::~SharedWorkerThread() |
{ |
} |
+void SharedWorkerThread::clearWorkerBackingThread() |
+{ |
+ m_workerBackingThread = nullptr; |
+} |
+ |
WorkerOrWorkletGlobalScope* SharedWorkerThread::createWorkerGlobalScope(std::unique_ptr<WorkerThreadStartupData> startupData) |
{ |
return SharedWorkerGlobalScope::create(m_name, this, std::move(startupData)); |