Chromium Code Reviews
DescriptionCancel a task associated to TaskHandle when the TaskHandle is overridden
When a TaskHandle is overridden by another TaskHandle, the original
task should be cancelled, though the previous implementation of TaskRunner
unintentionally detach the old task without cancelling it.
This CL implements the move-assignment operator properly, so that the
assignment operation cancels old task.
Committed: https://crrev.com/0b5fe82535de96d22d0bd32704e0b3b57f6a07b7
Cr-Commit-Position: refs/heads/master@{#430579}
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 15 (7 generated)
|
||||||||||||||||||||||||||||