Commit bd6c5b4b authored by Tom Sepez's avatar Tom Sepez Committed by Commit Bot

Remove unused struct FDCloser from sandbox_linux.cc

Change-Id: I96707a3d692c0065f5ab9f87e7265df14b5e82de
Reviewed-on: https://chromium-review.googlesource.com/786095Reviewed-by: default avatarRobert Sesek <rsesek@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#519775}
parent 3babf035
......@@ -58,14 +58,6 @@ namespace service_manager {
namespace {
struct FDCloser {
inline void operator()(int* fd) const {
DCHECK(fd);
PCHECK(0 == IGNORE_EINTR(close(*fd)));
*fd = -1;
}
};
void LogSandboxStarted(const std::string& sandbox_name) {
const std::string process_type =
base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment