Descriptiongn: Remove redundant calls to Scheduler::Increment/DecrementWorkCount().
It is useless to call IncrementWorkCount() before ScheduleWork() and
DecrementWorkCount() at the end of a callback scheduled by
ScheduleWork(). Indeed, ScheduleWork() already calls
IncrementWorkCount() and DecrementWorkCount() is already called after
the execution of callbacks scheduled by ScheduleWork().
BUG=
Committed: https://crrev.com/b0d8fb49cc75e8e6c6c7513754afe2ac54b5c8a7
Cr-Commit-Position: refs/heads/master@{#436369}
Patch Set 1 #
Depends on Patchset: Messages
Total messages: 16 (10 generated)
|