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

Unified Diff: third_party/WebKit/Source/core/workers/DedicatedWorkerThread.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/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

Powered by Google App Engine
This is Rietveld 408576698