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 a56d646f7efb3a0470f682afb8e087e5f4da683e..cb6545b4527f866cd86db88aec769861b4d8573a 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( |