| Index: sandbox/win/src/handle_policy.cc
|
| diff --git a/sandbox/win/src/handle_policy.cc b/sandbox/win/src/handle_policy.cc
|
| index 718376ecee16317a4f1f00e07d7f23cfbb9dc3f3..680faed98e1196920f33e1c6a6dd5eab0e8662f3 100644
|
| --- a/sandbox/win/src/handle_policy.cc
|
| +++ b/sandbox/win/src/handle_policy.cc
|
| @@ -81,7 +81,7 @@ DWORD HandlePolicy::DuplicateHandleProxyAction(EvalResult eval_result,
|
| HANDLE target_process = remote_target_process.IsValid() ?
|
| remote_target_process.Get() : ::GetCurrentProcess();
|
| DWORD result = ERROR_SUCCESS;
|
| - if (!::DuplicateHandle(client_info.process, source_handle, target_process,
|
| + if (!::DuplicateHandle(::GetCurrentProcess(), source_handle, target_process,
|
| target_handle, desired_access, FALSE,
|
| options)) {
|
| return ::GetLastError();
|
|
|