OffMT service worker startup: Create EmbeddedWorkerInstanceClient on the IO thread
Post a task to the IO thread to create EmbeddedWorkerInstanceClient when off-the-main-thread service worker startup is enabled. This is a tentative workaround to avoid some race conditions which happen when we make EmbeddedWorkerInstanceClient independent from RenderThreadImpl (see crbug.com/995134). Ideally we shouldn't need to post a task. Instead we should bind EmbeddedWorkerInstanceClient on the IO thread. Bug: 538751 Change-Id: I4bdb54232fb7abde7d6d1dccf1ac3cb58db16a92 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1761888Reviewed-by:Matt Falkenhagen <falken@chromium.org> Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Cr-Commit-Position: refs/heads/master@{#688436}
Showing
Please register or sign in to comment