commit | ecfbde9b593ca7f497375f56da8d076eb29772fa | [log] [tgz] |
---|---|---|
author | Alexandr Ilin <alexilin@chromium.org> | Thu Jul 12 17:08:22 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jul 12 17:08:22 2018 |
tree | 6c0c240234ebfc275569e3621f344c71acca41af | |
parent | b0f9d40078cf7c016aeefb8a0aba4c498ed86aba [diff] |
Allow WritableSharedMemoryRegion to Unsafe conversion This CL adds a new ConvertToUnsafe() method to the WritableSharedMemoryRegion class. This new method is similar to ConvertToReadOnly() in structure. The conversion does not modify an underlying platform handle (except it closes a read-only handle on POSIX) but changes region's type. Bug: 795291 Change-Id: Ie0a6b4c9850c0e223ee9299655f9bfd6c79c383b Reviewed-on: https://chromium-review.googlesource.com/985981 Reviewed-by: Daniel Cheng <dcheng@chromium.org> Commit-Queue: Alexandr Ilin <alexilin@chromium.org> Cr-Commit-Position: refs/heads/master@{#574610}
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 .