Remove use of deprecated SharedMemory in chromeos/wilco_dtc_supportd
Remove use of the deprecated class SharedMemory. Instead use the new classes: {Write,ReadOnly}SharedMemory{Region,Mapping}. The previous code was wrapping the shared memory inside a mojo handle. Instead, pass directly the ReadOnlySharedMemory to mojo, this is the preferred way. See Chromium Shared Memory Refactor design doc for more details: https://docs.google.com/document/d/1lk2-7W7Cy7FDqG-6lgS8LRkzXABYTOytf6VUsWNf8-0/edit#heading=h.7nki9mck5t64 Bug: 795291 Change-Id: I7ee031baf80533dac064fc779e31c40fc0eb202f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1566307 Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org> Reviewed-by:Polina Bondarenko <pbond@chromium.org> Reviewed-by:
Alex Ilin <alexilin@chromium.org> Cr-Commit-Position: refs/heads/master@{#667164}
Showing
Please register or sign in to comment