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())
|
if (!shm.get())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
base::SharedMemoryHandle host_shm_handle;
|
base::SharedMemoryHandle host_shm_handle = shm->handle().Duplicate();
|
||||||
shm->ShareToProcess(base::GetCurrentProcessHandle(), &host_shm_handle);
|
|
||||||
*host_handle_id =
|
*host_handle_id =
|
||||||
content::PepperPluginInstance::Get(instance)
|
content::PepperPluginInstance::Get(instance)
|
||||||
->GetVarTracker()
|
->GetVarTracker()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue