DescriptionUse TestSimpleTaskRunner::NumPendingTasks instead of GetPendingTasks().size()
TestSimpleTaskRunner::GetPendingTasks returns a full copy of the queued
pending tasks, which is less clean, and also that prevents a refactoring
that makes tasks move-only.
This CL replaces them with an equivalent NumPendingTasks to avoid the copy.
BUG=554299
Committed: https://crrev.com/bdac06c0a9913c5bc245d9e4b900b6af826e503f
Cr-Commit-Position: refs/heads/master@{#418496}
Patch Set 1 #Patch Set 2 : rebase #Patch Set 3 : rebase #Patch Set 4 : rebase #Patch Set 5 : rebase #
Messages
Total messages: 26 (19 generated)
|