| Index: sandbox/win/src/handle_dispatcher.cc
|
| diff --git a/sandbox/win/src/handle_dispatcher.cc b/sandbox/win/src/handle_dispatcher.cc
|
| index fda7aacaaef351f480f821c58753b07088a35be3..02d0034bdaaa18e096f8b3b9345283b048acb750 100644
|
| --- a/sandbox/win/src/handle_dispatcher.cc
|
| +++ b/sandbox/win/src/handle_dispatcher.cc
|
| @@ -65,7 +65,7 @@ bool HandleDispatcher::DuplicateHandleProxy(IPCInfo* ipc,
|
| reinterpret_cast<OBJECT_TYPE_INFORMATION*>(buffer);
|
| ULONG size = sizeof(buffer) - sizeof(wchar_t);
|
| NTSTATUS error =
|
| - QueryObject(handle, ObjectTypeInformation, type_info, size, &size);
|
| + QueryObject(handle.Get(), ObjectTypeInformation, type_info, size, &size);
|
| if (!NT_SUCCESS(error)) {
|
| ipc->return_info.nt_status = error;
|
| return false;
|
| @@ -79,7 +79,7 @@ bool HandleDispatcher::DuplicateHandleProxy(IPCInfo* ipc,
|
| EvalResult eval = policy_base_->EvalPolicy(IPC_DUPLICATEHANDLEPROXY_TAG,
|
| params.GetBase());
|
| ipc->return_info.win32_result =
|
| - HandlePolicy::DuplicateHandleProxyAction(eval, handle,
|
| + HandlePolicy::DuplicateHandleProxyAction(eval, handle.Get(),
|
| target_process_id,
|
| &ipc->return_info.handle,
|
| desired_access, options);
|
|
|