Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SequenceManager: Clean up TaskQueue Creation
1. Remove references to TaskQueueImpl in blink scheduler and create (Main|NonMain)ThreadTaskQueues directly, rather than routing through SequenceManager. This simplifies the construction path, fixes layering, and is needed if we move blink TQs oilpan. 2. Remove MainThreadTaskQueueForTest in blink since it wasn't used. This also means task queues are always created with a TaskQueueImpl, so require this in the TaskQueue constructor and remove NullTaskRunner. 3. Use plain TaskQueue instead of TestTaskQueue everywhere except SequenceManager unit tests. TestTaskQueue only exists to get at the TaskQueueImpl and test lifetime (via a weak ptr), so it generally isn't needed elsewhere. 4. Finally, remove SequenceManager::CreateTaskQueueWithType() Bug: 1143007 Change-Id: If40c62e17f5dda301f0ce729c6a692440608b031 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4336340 Reviewed-by: Gabriel Charette <gab@chromium.org> Commit-Queue: Scott Haseley <shaseley@chromium.org> Reviewed-by: Carlos Caballero Grolimund <carlscab@google.com> Cr-Commit-Position: refs/heads/main@{#1118767}
- Loading branch information
Showing
20 changed files
with
79 additions
and
199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.