gn: 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=

Review-Url: https://codereview.chromium.org/2526673003
Cr-Original-Commit-Position: refs/heads/master@{#436369}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b0d8fb49cc75e8e6c6c7513754afe2ac54b5c8a7
1 file changed
tree: 6acf33369c90546e8a0564ec5206ca55f8ce52a3
  1. tools/