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 0da7da72da7fb67cde88d07b3abd89fcf364fe71..eab530a7b9e044f918bbd7d153830693a2dcb3fa 100644 |
--- a/content/browser/zygote_host/zygote_host_impl_linux.cc |
+++ b/content/browser/zygote_host/zygote_host_impl_linux.cc |
@@ -19,6 +19,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" |
@@ -149,7 +150,7 @@ void ZygoteHostImpl::Init(const std::string& sandbox_cmd) { |
// We need to look for it. |
// But first, wait for the zygote to tell us it's running. |
// The sending code is in content/browser/zygote_main_linux.cc. |
- std::vector<int> fds_vec; |
+ ScopedVector<base::ScopedFD> fds_vec; |
const int kExpectedLength = sizeof(kZygoteHelloMessage); |
char buf[kExpectedLength]; |
const ssize_t len = UnixDomainSocket::RecvMsg(fds[0], buf, sizeof(buf), |