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

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

Issue 2556993005: [blink] Split TaskType::Internal into InternalTimer and InternalLoading. (Closed)
Patch Set: addressed skyostil@'s comments Created 4 years 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.cpp
diff --git a/third_party/WebKit/Source/core/workers/WorkerThread.cpp b/third_party/WebKit/Source/core/workers/WorkerThread.cpp
index dfe9303c28c3af32c0602114e62e214fcd484e78..4436cd8606bb1a40b6b54ec3812c1a5ea8baf38f 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThread.cpp
+++ b/third_party/WebKit/Source/core/workers/WorkerThread.cpp
@@ -354,7 +354,7 @@ void WorkerThread::terminateInternal(TerminationMode mode) {
m_forcibleTerminationTaskHandle =
workerReportingProxy()
.getParentFrameTaskRunners()
- ->get(TaskType::Internal)
+ ->get(TaskType::InternalTimer)
->postDelayedCancellableTask(
BLINK_FROM_HERE,
WTF::bind(&WorkerThread::mayForciblyTerminateExecution,

Powered by Google App Engine
This is Rietveld 408576698