summaryrefslogtreecommitdiffstats
path: root/base/process_util_posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/process_util_posix.cc')
-rw-r--r--base/process_util_posix.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/base/process_util_posix.cc b/base/process_util_posix.cc
index 439b806..d55f65d 100644
--- a/base/process_util_posix.cc
+++ b/base/process_util_posix.cc
@@ -35,10 +35,11 @@ ProcessHandle GetCurrentProcessHandle() {
return GetCurrentProcId();
}
-ProcessHandle OpenProcessHandle(ProcessId pid) {
+bool OpenProcessHandle(ProcessId pid, ProcessHandle* handle) {
// On Posix platforms, process handles are the same as PIDs, so we
// don't need to do anything.
- return pid;
+ *handle = pid;
+ return true;
}
void CloseProcessHandle(ProcessHandle process) {