commit | 4718cc93d31d1b63d990bf79acc4ac02f56f2439 | [log] [tgz] |
---|---|---|
author | Antonio Gomes <tonikitoo@igalia.com> | Thu May 16 19:27:01 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu May 16 19:27:01 2019 |
tree | 7f137757b28f0b2584e033e50f9ad3d127f5d33f | |
parent | 487e09fe3f28c2eee903d88273ee2f8eeb73942f [diff] |
Phase out CrossThreadBind (1/n) This CL is the first out N CLs that phase out the uses of CrossThreadBind in favor of CrossThreadBindOnce. Particularly in this CL, the uses of CrossThreadBind that are being phased out are the ones used combined with PostCrossThreadTask. Reasoning: when a task is posted, it only executes once. Hence it is logical to cross-thread the callback once. Exception: PostCrossThreadTask(FROM_HERE, CrossThreadBind(a_repeating_callback_)); ... where the function being bound is essentially a base::BindRepeating ivar. R=haraken@chromium.org, hiroshige@chromium.org BUG=963574 Change-Id: I1bd2d624f393af6456b165c7c07b2f440c681e8c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1615444 Reviewed-by: Kentaro Hara <haraken@chromium.org> Commit-Queue: Antonio Gomes <tonikitoo@igalia.com> Cr-Commit-Position: refs/heads/master@{#660522}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .