Index: chrome/browser/renderer_host/render_sandbox_host_linux.cc |
diff --git a/chrome/browser/renderer_host/render_sandbox_host_linux.cc b/chrome/browser/renderer_host/render_sandbox_host_linux.cc |
index e34efe6eb2c102504d0e5db121bc9be9bcec70ad..c41257dddd3bf15b7c164287633a736c3e4f27c3 100644 |
--- a/chrome/browser/renderer_host/render_sandbox_host_linux.cc |
+++ b/chrome/browser/renderer_host/render_sandbox_host_linux.cc |
@@ -295,8 +295,8 @@ RenderSandboxHostLinux::RenderSandboxHostLinux() { |
const int child_lifeline_fd = pipefds[0]; |
childs_lifeline_fd_ = pipefds[1]; |
- const pid_t child = fork(); |
- if (child == 0) { |
+ pid_ = fork(); |
+ if (pid_ == 0) { |
SandboxIPCProcess handler(child_lifeline_fd, browser_socket); |
handler.Run(); |
_exit(0); |