Remove base::SharedMemory::ShareToProcess
https://codereview.chromium.org/2852803002
This commit is contained in:
parent
58e0771e47
commit
75d02f65d9
1 changed files with 1 additions and 2 deletions
|
@ -49,8 +49,7 @@ void PepperSharedMemoryMessageFilter::OnHostMsgCreateSharedMemory(
|
|||
if (!shm.get())
|
||||
return;
|
||||
|
||||
base::SharedMemoryHandle host_shm_handle;
|
||||
shm->ShareToProcess(base::GetCurrentProcessHandle(), &host_shm_handle);
|
||||
base::SharedMemoryHandle host_shm_handle = shm->handle().Duplicate();
|
||||
*host_handle_id =
|
||||
content::PepperPluginInstance::Get(instance)
|
||||
->GetVarTracker()
|
||||
|
|
Loading…
Reference in a new issue