Use MainThread on EmptyFrameScheduler
The dummy Frame on Workers has EmptyFrameScheduler, and it returns a WebTaskRunner for the current thread. However, since all Frame should belong to the main thread, the resulting WebTaskRunner should run on the main thread even when the task runner is requested on a non-main thread. This CL ensures EmptyFrameScheduler to use the main thread task runner. Review-Url: https://codereview.chromium.org/2544303002 Cr-Commit-Position: refs/heads/master@{#436265}
Showing
Please register or sign in to comment