Chromium Code Reviews
DescriptionUse ParentFrameTaskRunners in WorkerLoaderProxyProvider::postTaskToLoader impls
Implementations of WorkerLoaderProxyProvider::postTaskToLoader have used
ExecutionContext::postTask to post tasks to the main thread. However,
the posted tasks are unexpectedly throttled, and that delays the startup
time of service workers.
This CL replaces ExecutionContext::postTask there with ParentFrameTaskRunners
and WebTaskRunner::postTask, so that the posted task is routed to suitable
task runners.
BUG=667310, 671084
Committed: https://crrev.com/200baa21d49f1a2688a33bb64f4b689fdae69119
Cr-Commit-Position: refs/heads/master@{#438146}
Patch Set 1 #Patch Set 2 : . #
Messages
Total messages: 23 (15 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||