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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerThread.h

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/WorkerThread.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerThread.h b/third_party/WebKit/Source/core/workers/WorkerThread.h
index 834fda0c02a1151fde140019074fae7add1ffb73..6a79d9337bfd3757067b7b8b1251d3a5d399fe28 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThread.h
+++ b/third_party/WebKit/Source/core/workers/WorkerThread.h
@@ -109,6 +109,7 @@ public:
static void terminateAndWaitForAllWorkers();
virtual WorkerBackingThread& workerBackingThread() = 0;
+ virtual void clearWorkerBackingThread() = 0;
ConsoleMessageStorage* consoleMessageStorage() const { return m_consoleMessageStorage.get(); }
virtual bool shouldAttachThreadDebugger() const { return true; }
v8::Isolate* isolate();
« no previous file with comments | « third_party/WebKit/Source/core/workers/SharedWorkerThread.cpp ('k') | third_party/WebKit/Source/core/workers/WorkerThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698