Index: content/browser/zygote_host/zygote_host_impl_linux.cc |
diff --git a/content/browser/zygote_host/zygote_host_impl_linux.cc b/content/browser/zygote_host/zygote_host_impl_linux.cc |
index 94bdc16ff792af6bdae3e36462a7764b542b5d96..ff58a5276a14af690f80a11d07c4531bfcb0c564 100644 |
--- a/content/browser/zygote_host/zygote_host_impl_linux.cc |
+++ b/content/browser/zygote_host/zygote_host_impl_linux.cc |
@@ -20,6 +20,7 @@ |
#include "base/logging.h" |
#include "base/memory/linked_ptr.h" |
#include "base/memory/scoped_ptr.h" |
+#include "base/memory/scoped_vector.h" |
#include "base/metrics/histogram.h" |
#include "base/path_service.h" |
#include "base/posix/eintr_wrapper.h" |
@@ -176,7 +177,7 @@ void ZygoteHostImpl::Init(const std::string& sandbox_cmd) { |
// Wait for the zygote to tell us it's running, and receive its PID, |
// which the kernel will translate to our PID namespace. |
// The sending code is in content/browser/zygote_main_linux.cc. |
- std::vector<int> fds_vec; |
+ ScopedVector<base::ScopedFD> fds_vec; |
const size_t kExpectedLength = sizeof(kZygoteHelloMessage); |
char buf[kExpectedLength]; |
const ssize_t len = UnixDomainSocket::RecvMsgWithPid( |