| commit | 5729e346081e3a3cfdfa6c8a8fb71380188e6d01 | [log] [tgz] |
|---|---|---|
| author | Yilong Li <liyl@google.com> | Tue Jul 11 22:42:33 2023 +0000 |
| committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jul 11 22:42:33 2023 +0000 |
| tree | 6c628ef1c0ed9be1577c8eb276007ba315c11a38 | |
| parent | 1a0b8f64288b6ab4dc7724f7acaabb91fdc07f4c [diff] |
[display][fidl] Use BufferId in ImportImage(). Previously in ImportImage(), the argument `collection_id` and `index` were separated by `image_id`, which can be very error prone. This change fixes the FIDL function signature by using BufferId struct to replace `collection_id` and `index`. This makes it more clear that these two arguments should be treated as a whole. Test: no behavior change. existing tests passed. Bug: 128286 Change-Id: I635e57b00aaa369fd445457c1a5f9b027f6aa722 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/879981 Reviewed-by: John Bauman <jbauman@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> API-Review: John Bauman <jbauman@google.com> Reviewed-by: Victor Costan <costan@google.com> Fuchsia-Auto-Submit: Yilong Li <liyl@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.