commit | b1033f682f37d7d5a4f5668275656804c7a577f2 | [log] [tgz] |
---|---|---|
author | Keishi Hattori <keishi@chromium.org> | Wed Jul 18 04:22:39 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jul 18 04:22:39 2018 |
tree | 54f8c9b221af0d107c93b0bd3f6191a635cecef7 | |
parent | bd62311a9ebf0989daa0135d2f231d0152114c16 [diff] |
compositor_will_send_main_frame_not_expected flag should not be set when no PageSchedulers exist When we set compositor_will_send_main_frame_not_expected flag when no PageSchedulers exist, MainThreadSchedulerImpl::BeginMainFrameNotExpectedUntil() never gets called. This means that StartIdlePeriod rarely gets called and the idle tasks may not be executed for a long time. After this CL, compositor_will_send_main_frame_not_expected will not be set when no PageSchedulers exist, so MainThreadSchedulerImpl will try calling RequestBeginMainFrameNotExpected next time. Bug: 862589 Change-Id: I06f9c813df6cc7270269d9ffb3a01f24b9c911ce Reviewed-on: https://chromium-review.googlesource.com/1134630 Commit-Queue: Keishi Hattori <keishi@chromium.org> Reviewed-by: Sami Kyöstilä <skyostil@chromium.org> Reviewed-by: Alexander Timin <altimin@chromium.org> Cr-Commit-Position: refs/heads/master@{#575938}
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 .