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

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

Issue 441063003: Run microtasks at the end of each worker task. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/bindings/core/v8/ScriptPromiseResolverTest.cpp ('k') | Source/core/workers/WorkerThread.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/WorkerThread.h
diff --git a/Source/core/workers/WorkerThread.h b/Source/core/workers/WorkerThread.h
index 7b8e9aaba985ab5550a8748f743e4254e08d2ec8..80a2bf549d83d441c9a8c73508a7b5a837fc746b 100644
--- a/Source/core/workers/WorkerThread.h
+++ b/Source/core/workers/WorkerThread.h
@@ -116,6 +116,7 @@ namespace blink {
OwnPtr<WorkerSharedTimer> m_sharedTimer;
MessageQueue<WorkerThreadTask> m_debuggerMessageQueue;
OwnPtr<PendingGCRunner> m_pendingGCRunner;
+ OwnPtr<WebThread::TaskObserver> m_microtaskRunner;
OwnPtr<MessageLoopInterruptor> m_messageLoopInterruptor;
WorkerLoaderProxy& m_workerLoaderProxy;
« no previous file with comments | « Source/bindings/core/v8/ScriptPromiseResolverTest.cpp ('k') | Source/core/workers/WorkerThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698