| Index: content/browser/renderer_host/render_sandbox_host_linux.cc
|
| diff --git a/content/browser/renderer_host/render_sandbox_host_linux.cc b/content/browser/renderer_host/render_sandbox_host_linux.cc
|
| index 846ec26f2b76ee8f149b61b057038250649b52d8..0314ce1846836a3f1bf556faead40ad568861d48 100644
|
| --- a/content/browser/renderer_host/render_sandbox_host_linux.cc
|
| +++ b/content/browser/renderer_host/render_sandbox_host_linux.cc
|
| @@ -70,12 +70,16 @@ void RenderSandboxHostLinux::Init() {
|
| }
|
| }
|
|
|
| +bool RenderSandboxHostLinux::ShutdownIPCChannel() {
|
| + return IGNORE_EINTR(close(childs_lifeline_fd_)) == 0;
|
| +}
|
| +
|
| RenderSandboxHostLinux::~RenderSandboxHostLinux() {
|
| if (initialized_) {
|
| + if (!ShutdownIPCChannel())
|
| + LOG(ERROR) << "ShutdownIPCChannel failed";
|
| if (IGNORE_EINTR(close(renderer_socket_)) < 0)
|
| PLOG(ERROR) << "close";
|
| - if (IGNORE_EINTR(close(childs_lifeline_fd_)) < 0)
|
| - PLOG(ERROR) << "close";
|
| }
|
| }
|
|
|
|
|