Replace base::Callback with base::OnceCallback in base::PendingTask
After this CL, PendingTask holds the posted task as OnceClosure. And to
do that, PendingTasks get non-const on a task invocation, due to the
mutation the posted task for the consumption by the task invocation.
1 file changed