commit | fc3757f9c0a9789d79b4837c7b318f01973285fa | [log] [tgz] |
---|---|---|
author | Matthew Cary <[email protected]> | Tue Jul 30 21:32:46 2019 |
committer | Commit Bot <[email protected]> | Tue Jul 30 21:32:46 2019 |
tree | 72dd452f3aca2a77ec3703ae304877c29da6e323 | |
parent | 3d29a7d82cebe2a8a6e8e2e9244a5947832306d2 [diff] [blame] |
Pepper: remove use of legacy SharedMemory in IPC. This change the PPB_Buffer_Impl and associated buffer alloc to use base::UnsafeSharedMemoryRegion instead of the legacy SharedMemoryHandle. The affected IPCs are PpapiHostMsg_PPBBuffer_Create and PpapiPluginMsg_VideoCapture_OnDeviceInfo. Bug: 795291 Change-Id: Ia07e2d2e8c0eea43b898de6f8b33e706226c87b2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1724084 Reviewed-by: Bill Budge <[email protected]> Commit-Queue: Matthew Cary (CET) <[email protected]> Cr-Commit-Position: refs/heads/master@{#682467}
diff --git a/ppapi/proxy/ppb_graphics_3d_proxy.cc b/ppapi/proxy/ppb_graphics_3d_proxy.cc index e6570939..e7387d5 100644 --- a/ppapi/proxy/ppb_graphics_3d_proxy.cc +++ b/ppapi/proxy/ppb_graphics_3d_proxy.cc
@@ -294,7 +294,7 @@ gpu::Capabilities* capabilities, SerializedHandle* shared_state, gpu::CommandBufferId* command_buffer_id) { - shared_state->set_null_shmem(); + shared_state->set_null_shmem_region(); thunk::EnterResourceCreation enter(instance);