sequence_manager: Clean up cancelled task sweeping logic
Use STL algorithms to split out and remove cancelled tasks from the task queue instead of reimplementing them manually. Also avoid exposing protected fields of std::priority_queue. No behavioral changes. Bug: 1155905 Change-Id: I4afb25038dea1dc2114163e19ec9c100a780701f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2612900 Auto-Submit: Sami Kyöstilä <skyostil@chromium.org> Commit-Queue: Sami Kyöstilä <skyostil@chromium.org> Reviewed-by:Carlos Caballero <carlscab@google.com> Cr-Commit-Position: refs/heads/master@{#841500}
Showing
Please register or sign in to comment