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

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

Issue 2580253002: Specify TaskType of posted Task explicitly in worker (7) (Closed)
Patch Set: s/Unthrottled/Internal/ 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/workers/WorkerGlobalScope.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/workers/WorkerEventQueue.cpp
diff --git a/third_party/WebKit/Source/core/workers/WorkerEventQueue.cpp b/third_party/WebKit/Source/core/workers/WorkerEventQueue.cpp
index c9ed294df46c31c1d7790151ab64b572c5093f02..0c6f728639c689bbe02271a05a9532dc72993568 100644
--- a/third_party/WebKit/Source/core/workers/WorkerEventQueue.cpp
+++ b/third_party/WebKit/Source/core/workers/WorkerEventQueue.cpp
@@ -59,7 +59,7 @@ bool WorkerEventQueue::enqueueEvent(Event* event) {
event->target()->getExecutionContext(), event->type(), event);
m_pendingEvents.add(event);
m_workerGlobalScope->postTask(
- BLINK_FROM_HERE,
+ TaskType::Internal, BLINK_FROM_HERE,
createSameThreadTask(&WorkerEventQueue::dispatchEvent,
wrapPersistent(this), wrapWeakPersistent(event)));
return true;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/workers/WorkerGlobalScope.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698