commit | ab347580cf797afb0445bfc89caea29a3a91ab51 | [log] [tgz] |
---|---|---|
author | danakj <danakj@chromium.org> | Wed May 22 19:05:17 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed May 22 19:05:17 2019 |
tree | 087f0fb03d044ff305d5fc254164f435a8ac1682 | |
parent | 6c8b9d187f7d6099fc9b4cfd54865f6681327ad4 [diff] |
Convert Callback usage to {Once,Repeating}Callback in V8 values and post-task The PostTaskToInProcessRendererAndWait() method can take a OnceCallback since it runs it once, so we do, and callers are changed use BindOnce(). The V8ValueConverter takes a Callback which it never uses, so remove it from the parameters instead of converting it to an appropriate type. A few other simple conversions in content/renderer/worker and service_worker. R=avi@chromium.org Bug: 953861 Change-Id: I8e77532b6d5e40b5961b6f5193acde6bc9818389 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1623489 Reviewed-by: Avi Drissman <avi@chromium.org> Reviewed-by: Ken Rockot <rockot@google.com> Commit-Queue: danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/master@{#662297}
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 .