[ArrayBuffer] Give each SecurityOrigin a Partition for ArrayBuffers.
- Goes through SecurityOrigin's ArrayBuffer Partition for ArrayBuffers allocated from the V8 side. - Reworks ArrayBufferContents to support multiple partitions for ArrayBuffers. Adds overload of AllocateMemoryOrNull to handle these allocations. Associates a PartitionRootGeneric with each allocation, storing a pointer just before the ArrayBuffer data. Bug:chromium:799573 Change-Id: I712176c715d1fb2511d87892052ba9d2d8084336 Reviewed-on: https://chromium-review.googlesource.com/853120Reviewed-by:Chris Palmer <palmer@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Commit-Queue: Bill Budge <bbudge@chromium.org> Cr-Commit-Position: refs/heads/master@{#533921}
Showing
Please register or sign in to comment