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

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

Issue 2324693003: Worker: Check forcible termination by WorkerThread::isForciblyTerminated() (Closed)
Patch Set: remove unnecessary header inclusion Created 4 years, 3 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 5ed7f2712f69f2d50080900db1bab0ddfb6dcd7d..cd9fc548f9dd44fe233a693013047444d0d0e6ae 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThread.h
+++ b/third_party/WebKit/Source/core/workers/WorkerThread.h
@@ -203,7 +203,9 @@ private:
// acquired.
bool shouldScheduleToTerminateExecution(const MutexLocker&);
- void forciblyTerminateExecution();
+ // Forcibly terminates the worker execution. This must be called with
+ // |m_threadStateMutex| acquired.
+ void forciblyTerminateExecution(const MutexLocker&, ExitCode);
// Returns true if termination or shutdown sequence has started. This is
// thread safe.

Powered by Google App Engine
This is Rietveld 408576698