summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-26 02:35:45 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-26 02:35:45 +0000
commit073040b43c8d3c01c7019ee7ef3e8664f137f5b6 (patch)
tree245726bffad858f7d368199b671b26970c5431bc /chrome/browser/renderer_host
parent7f51255c5711efe3cfccebe15e0213364c1273e8 (diff)
downloadchromium_src-073040b43c8d3c01c7019ee7ef3e8664f137f5b6.zip
chromium_src-073040b43c8d3c01c7019ee7ef3e8664f137f5b6.tar.gz
chromium_src-073040b43c8d3c01c7019ee7ef3e8664f137f5b6.tar.bz2
Linux: Fix problem with zombies and hanging browsers when METHOD_GET_CHILD_WITH_INODE fails.
BUG=none TEST=fewer zombies. Review URL: http://codereview.chromium.org/3416023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60592 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host')
-rw-r--r--chrome/browser/renderer_host/render_sandbox_host_linux.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/renderer_host/render_sandbox_host_linux.cc b/chrome/browser/renderer_host/render_sandbox_host_linux.cc
index 39a3d9e..bcd63d8 100644
--- a/chrome/browser/renderer_host/render_sandbox_host_linux.cc
+++ b/chrome/browser/renderer_host/render_sandbox_host_linux.cc
@@ -343,8 +343,9 @@ class SandboxIPCProcess {
base::StringToInt(inode_output, &pid);
if (!pid) {
+ // Even though the pid is invalid, we still need to reply to the zygote
+ // and not just return here.
LOG(ERROR) << "Could not get pid";
- return;
}
Pickle reply;