diff options
Diffstat (limited to 'chrome/browser/zygote_host_linux.cc')
-rw-r--r-- | chrome/browser/zygote_host_linux.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/zygote_host_linux.cc b/chrome/browser/zygote_host_linux.cc index 9344f28..2db423a 100644 --- a/chrome/browser/zygote_host_linux.cc +++ b/chrome/browser/zygote_host_linux.cc @@ -200,11 +200,11 @@ pid_t ZygoteHost::ForkRenderer( } if (!base::SendMsg(control_fd_, pickle.data(), pickle.size(), fds)) - return -1; + return base::kNullProcessHandle; pid_t pid; if (HANDLE_EINTR(read(control_fd_, &pid, sizeof(pid))) != sizeof(pid)) - return -1; + return base::kNullProcessHandle; return pid; } |