Chromium Code Reviews| Index: content/browser/renderer_host/render_sandbox_host_linux.cc |
| =================================================================== |
| --- content/browser/renderer_host/render_sandbox_host_linux.cc (revision 188729) |
| +++ content/browser/renderer_host/render_sandbox_host_linux.cc (working copy) |
| @@ -223,7 +223,13 @@ |
| reply.WriteBool(true); |
| } |
| + // The receiver will have its own access to the file, so we will close it |
| + // after this send. |
| SendRendererReply(fds, reply, result_fd); |
| + |
| + if (result_fd >= 0) { |
| + DCHECK(!HANDLE_EINTR(close(result_fd))); |
|
piman
2013/03/18 19:49:14
I'm not the biggest fan of side-effects inside of
reed1
2013/03/18 20:15:41
Done.
|
| + } |
| } |
| void HandleGetFontFamilyForChars(int fd, const Pickle& pickle, |