Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(631)

Unified Diff: third_party/WebKit/Source/core/workers/SharedWorkerThread.cpp

Issue 2251903002: Destruct base::Thread before WorkerThread::terminateAndWait returns (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: temp Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));
« no previous file with comments | « third_party/WebKit/Source/core/workers/SharedWorkerThread.h ('k') | third_party/WebKit/Source/core/workers/WorkerThread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698