diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-09-18 14:34:04 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-10-04 11:15:27 +0000 |
commit | e6430e577f105ad8813c92e75c54660c4985026e (patch) | |
tree | 88115e5d1fb471fea807111924dcccbeadbf9e4f /chromium/tools/gn/scheduler.cc | |
parent | 53d399fe6415a96ea6986ec0d402a9c07da72453 (diff) | |
download | qtwebengine-chromium-e6430e577f105ad8813c92e75c54660c4985026e.tar.gz |
BASELINE: Update Chromium to 61.0.3163.99
Change-Id: I8452f34574d88ca2b27af9bd56fc9ff3f16b1367
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'chromium/tools/gn/scheduler.cc')
-rw-r--r-- | chromium/tools/gn/scheduler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/tools/gn/scheduler.cc b/chromium/tools/gn/scheduler.cc index ed67c98e48e..53277921aee 100644 --- a/chromium/tools/gn/scheduler.cc +++ b/chromium/tools/gn/scheduler.cc @@ -205,11 +205,11 @@ void Scheduler::ClearUnknownGeneratedInputsAndWrittenFiles() { } void Scheduler::IncrementWorkCount() { - base::AtomicRefCountInc(&work_count_); + work_count_.Increment(); } void Scheduler::DecrementWorkCount() { - if (!base::AtomicRefCountDec(&work_count_)) { + if (!work_count_.Decrement()) { if (task_runner()->BelongsToCurrentThread()) { OnComplete(); } else { |