commit | ed98e25e2e6128cb6df6b3eb630b0572d2ef495f | [log] [tgz] |
---|---|---|
author | Fernando Serboncini <fserb@chromium.org> | Mon Jul 23 22:40:07 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jul 23 22:40:07 2018 |
tree | 2b4c0b7d933d4f82b8cadfa780e4852dd4c54fdb | |
parent | d84bb42a2147fde3a3aaacd3ff64baf9bc28c914 [diff] |
Only execute Worker.RAF inside PostMessage taskrunner If a RAF takes too long, OnBeginFrame may flood the task runner with tasks and not allow postMessages to pass. This makes sure that RAFs are executed in the same task queue as postMessages. We also change BeginFrameProvider logic to only disable setNeedsBeginFrame with one frame delay, to minimize the number of mojo calls. Bug: 863962 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: Iec4b21d9e41571a9fc2d9880aa26ce45704d8d0c Reviewed-on: https://chromium-review.googlesource.com/1139188 Commit-Queue: Fernando Serboncini <fserb@chromium.org> Reviewed-by: Chris Harrelson <chrishtr@chromium.org> Reviewed-by: Alexander Timin <altimin@chromium.org> Reviewed-by: Ken Rockot <rockot@chromium.org> Reviewed-by: Justin Novosad <junov@chromium.org> Cr-Commit-Position: refs/heads/master@{#577308}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .