| Index: sandbox/win/tests/common/controller.cc
|
| diff --git a/sandbox/win/tests/common/controller.cc b/sandbox/win/tests/common/controller.cc
|
| index 0d2973f045afeb464995700be674849963f37fbd..24070e78c1bd7f256998c553cb74f1e9b2713771 100644
|
| --- a/sandbox/win/tests/common/controller.cc
|
| +++ b/sandbox/win/tests/common/controller.cc
|
| @@ -315,8 +315,7 @@ int DispatchCall(int argc, wchar_t **argv) {
|
| base::StringToUint(argv[4], reinterpret_cast<unsigned int*>(&raw_handle));
|
| if (raw_handle == nullptr)
|
| return SBOX_TEST_INVALID_PARAMETER;
|
| - base::SharedMemoryHandle shared_handle(raw_handle,
|
| - base::GetCurrentProcId());
|
| + base::SharedMemoryHandle shared_handle(raw_handle);
|
| base::SharedMemory read_only_view(shared_handle, true);
|
| if (!read_only_view.Map(0))
|
| return SBOX_TEST_INVALID_PARAMETER;
|
|
|