commit | 9e50e07dbf60ecb29d8fe20ca4a9479c88d389ff | [log] [tgz] |
---|---|---|
author | Alex Clarke <alexclarke@chromium.org> | Fri Nov 30 16:43:41 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Nov 30 16:43:41 2018 |
tree | 8325706df3c834a694a45c0658c3ab9950a41096 | |
parent | b97665e3771103c5714f103ad986507230f84fdb [diff] |
LazilyDeallocatedDeque to use TimeTicksNowIgnoringOverride This works around one issue with overriding now while there are other SequenceManager threads around. Specifically the MessageLoop didn't sample Now unless there where delayed tasks, and the IO thread where this problem crops up in tests does not use DelayedTasks. The SequenceManager however does sample now due to heuristics in the LazilyDeallocatedDeque. Overriding time isn't thread safe and this patch does not change that. Further work may be needded to make that safe, Bug: 910524, 863341, 891670 Change-Id: I816247b8640f178e00cbd40ac85cd76e5139320a Reviewed-on: https://chromium-review.googlesource.com/c/1356586 Reviewed-by: Sami Kyöstilä <skyostil@chromium.org> Commit-Queue: Alex Clarke <alexclarke@chromium.org> Cr-Commit-Position: refs/heads/master@{#612674}
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 .