commit | 3ee9eae4c5056909616b7534572494455887db73 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Tue Mar 26 12:28:13 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Mar 26 12:28:13 2019 |
tree | 8632365cf69803972dfb051845df5188450b0995 | |
parent | eca025962d5c1bf8e25311bbe1f3513c2b4f4c67 [diff] |
Add DawnCallback template to convert between base::OnceCallback and Dawn C callbacks. DawnCallback<Callback> is a heap-allocated version of base::OnceCallback or base::RepeatingCallback. It is allocated on the heap so that it can be reinterpret_cast to/from DawnCallbackUserdata and passed to Dawn C callbacks. Bug: 941536 Change-Id: I8912b14c81a2a44d16718aa9f2aa464ff0f77c6d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1535573 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#644269}
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 .