commit | 1f8eb50a729b9770ea88150846eb5d03ed2c254f | [log] [tgz] |
---|---|---|
author | Matthew Cary <mattcary@chromium.org> | Fri Aug 24 17:18:31 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Aug 24 17:18:31 2018 |
tree | 6d4ad40303bed8b1f717c3e23058be4192f7672f | |
parent | 7499662301766ad4e675256ae3a5e7e92a97e48f [diff] |
base/memory: Add UnsafeSharedMemoryRegion::CreateFromHandle. Create an UnsafeSharedMemoryRegion from a SharedMemoryHandle. This creation method is only needed while transitioning to the new shared memory API. This enables in particular the media code to not add a dependency on mojo, via WritableUnalignedMapping. This dependency has caused problems, eg crbug.com/874074 and crbug.com/871429. Bug: 795291 Change-Id: Ie0603e55afac9d853d371548a99475d763034fa5 Reviewed-on: https://chromium-review.googlesource.com/1183910 Commit-Queue: Matthew Cary <mattcary@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#585886}
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 .