| Index: ppapi/proxy/video_decoder_resource_unittest.cc
|
| diff --git a/ppapi/proxy/video_decoder_resource_unittest.cc b/ppapi/proxy/video_decoder_resource_unittest.cc
|
| index 8f80d7a71cefb650939d95cf22f6a112eb032c16..652b43d09695202f4544bfd486cd69a92f9399a7 100644
|
| --- a/ppapi/proxy/video_decoder_resource_unittest.cc
|
| +++ b/ppapi/proxy/video_decoder_resource_unittest.cc
|
| @@ -152,8 +152,7 @@ class VideoDecoderResourceTest : public PluginProxyTest {
|
| base::SharedMemory shm;
|
| if (expected_shm_msg) {
|
| shm.CreateAnonymous(kShmSize);
|
| - shm_handle.reset(new base::SharedMemoryHandle());
|
| - shm.ShareToProcess(base::GetCurrentProcessHandle(), shm_handle.get());
|
| + shm_handle.reset(new base::SharedMemoryHandle(shm.handle().Duplicate()));
|
| serialized_handle.reset(new SerializedHandle(*shm_handle, kShmSize));
|
| shm_msg_handler.set_serialized_handle(serialized_handle.get());
|
| }
|
|
|