Chromium Code Reviews| Index: base/process/process_handle_posix.cc |
| diff --git a/base/process/process_handle_posix.cc b/base/process/process_handle_posix.cc |
| index 3d92300a7bcadf809559aefdcd46bccb12d0c4fb..a661ecd899b493ee31771c55d854989a20f02e62 100644 |
| --- a/base/process/process_handle_posix.cc |
| +++ b/base/process/process_handle_posix.cc |
| @@ -16,13 +16,6 @@ ProcessHandle GetCurrentProcessHandle() { |
| return GetCurrentProcId(); |
| } |
| -bool OpenProcessHandle(ProcessId pid, ProcessHandle* handle) { |
| - // On Posix platforms, process handles are the same as PIDs, so we |
| - // don't need to do anything. |
| - *handle = pid; |
| - return true; |
|
cpu_(ooo_6.6-7.5)
2015/01/28 17:17:50
is zero special?
as in returning false?
rvargas (doing something else)
2015/02/02 19:47:09
Zero is the value for invalid handle / pid. This s
|
| -} |
| - |
| void CloseProcessHandle(ProcessHandle process) { |
| // See OpenProcessHandle, nothing to do. |
| return; |