commit | a419a4bb25c4a4e5f33dd0d0123a3829de7e9dad | [log] [tgz] |
---|---|---|
author | Sami Kyostila <skyostil@chromium.org> | Fri Jan 04 18:43:15 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jan 04 18:43:15 2019 |
tree | b73de3b962b813bf7646b80b3118c8415df34f93 | |
parent | 73fb52b3dff1c16246911c74568ae7b8c8ac9f25 [diff] |
base: Don't avoid scheduling immediate work inside DoDelayedWork Some message pumps -- most notably the Mac ones -- don't guarantee that returning true from DoDelayedWork causes a future call to DoWork to be scheduled. This patch ensures the optimization to prevent a redundant call to ScheduleWork from a running task isn't applied for delayed tasks. This is a speculative fix to some of the Mac hangs that we are observing with the SequenceManager. Bug: 891670 Change-Id: Ib457a66afc68f9aa41b022a812fc433cd991d124 Reviewed-on: https://chromium-review.googlesource.com/c/1396317 Commit-Queue: Sami Kyöstilä <skyostil@chromium.org> Reviewed-by: Alex Clarke <alexclarke@chromium.org> Reviewed-by: Alexander Timin <altimin@chromium.org> Cr-Commit-Position: refs/heads/master@{#620009}
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 .