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

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

Issue 2556993005: [blink] Split TaskType::Internal into InternalTimer and InternalLoading. (Closed)
Patch Set: 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..31484a4c9342a05b184e06cbbab93b8a4bacb9ea 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::InternalLoading)
Sami 2016/12/08 17:05:08 Let's keep this as a timer to avoid reordering wit
->postDelayedCancellableTask(
BLINK_FROM_HERE,
WTF::bind(&WorkerThread::mayForciblyTerminateExecution,

Powered by Google App Engine
This is Rietveld 408576698