commit | 1138d6022dffe01696066c599629e442b3548d6d | [log] [tgz] |
---|---|---|
author | Gabriel Charette <[email protected]> | Wed Jan 29 08:51:52 2020 |
committer | Commit Bot <[email protected]> | Wed Jan 29 08:51:52 2020 |
tree | e97b3ce00107c2d8d3bfb13a9e2e56d8590036d7 | |
parent | 7ca178b80efe2674bace9cdebd1dcbea0537fe47 [diff] [blame] |
[ThreadPool] Fix docs to match new API [email protected] Bug: 1026641 Change-Id: I68c6e40f080ac5808cd9c67e227695ca921e1691 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2026714 Auto-Submit: Gabriel Charette <[email protected]> Commit-Queue: Etienne Pierre-Doray <[email protected]> Reviewed-by: Etienne Pierre-Doray <[email protected]> Cr-Commit-Position: refs/heads/master@{#736281}
diff --git a/docs/threading_and_tasks.md b/docs/threading_and_tasks.md index 998e5251..f483d44 100644 --- a/docs/threading_and_tasks.md +++ b/docs/threading_and_tasks.md
@@ -654,8 +654,7 @@ // Returns the latest thread-safe number of incomplete work items. void NumIncompleteWorkItems(); -base::PostJob(FROM_HERE, - {base::ThreadPool()}, +base::PostJob(FROM_HERE, {}, base::BindRepeating(&WorkerTask), base::BindRepeating(&NumIncompleteWorkItems)); ```