commit | 6a1da98dc56f11d5abb93a9762b705b76c879e05 | [log] [tgz] |
---|---|---|
author | Gabriel Charette <gab@chromium.org> | Tue Jun 19 20:14:54 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jun 19 20:14:54 2018 |
tree | e32d7bcef2d024fc74d5e0356338e24033494cfd | |
parent | bd639000b9269004cb185596a05ad1350f63773d [diff] |
[MessageLoop] Only count tasks actually in the DelayedQueue as pending hi-res tasks. This count only matters when reaching MessageLoop::DoIdleWork() at which point the TriageQueue is empty by definition (and tasks in the DeferredQueue do not matter). This CL is therefore a no-op behavior wise. In an upcoming change, the thread-safe |incoming_queue_| will move to MessageLoopTaskRunner and dropping unecessary hi-res counts now will make this transition simpler. This also allows disconnecting DelayedQueue and DeferredQueue from their outer class. R=danakj@chromium.org, kylechar@chromium.org Bug: 708584, 854237 Change-Id: Icf36f1e425a8320fb14a4c561c529a9ea2389e0f Reviewed-on: https://chromium-review.googlesource.com/1103120 Commit-Queue: Gabriel Charette <gab@chromium.org> Reviewed-by: kylechar <kylechar@chromium.org> Reviewed-by: danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/master@{#568586}
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 .