| Index: sandbox/linux/integration_tests/namespace_unix_domain_socket_unittest.cc
|
| diff --git a/sandbox/linux/integration_tests/namespace_unix_domain_socket_unittest.cc b/sandbox/linux/integration_tests/namespace_unix_domain_socket_unittest.cc
|
| index 9d79bff1c6afe7e6b8d4ab233afcf5cff3bb34f8..b9cef926a6ced0e42da005ba5b1011cc26e39222 100644
|
| --- a/sandbox/linux/integration_tests/namespace_unix_domain_socket_unittest.cc
|
| +++ b/sandbox/linux/integration_tests/namespace_unix_domain_socket_unittest.cc
|
| @@ -14,7 +14,6 @@
|
|
|
| #include "base/files/scoped_file.h"
|
| #include "base/logging.h"
|
| -#include "base/memory/scoped_vector.h"
|
| #include "base/posix/eintr_wrapper.h"
|
| #include "base/posix/unix_domain_socket_linux.h"
|
| #include "base/process/process.h"
|
| @@ -95,14 +94,14 @@ void RecvHello(int fd,
|
| // Extra receiving buffer space to make sure we really received only
|
| // sizeof(kHello) bytes and it wasn't just truncated to fit the buffer.
|
| char buf[sizeof(kHello) + 1];
|
| - ScopedVector<base::ScopedFD> message_fds;
|
| + std::vector<base::ScopedFD> message_fds;
|
| ssize_t n = base::UnixDomainSocket::RecvMsgWithPid(
|
| fd, buf, sizeof(buf), &message_fds, sender_pid);
|
| CHECK_EQ(sizeof(kHello), static_cast<size_t>(n));
|
| CHECK_EQ(0, memcmp(buf, kHello, sizeof(kHello)));
|
| CHECK_EQ(1U, message_fds.size());
|
| if (write_pipe)
|
| - write_pipe->swap(*message_fds[0]);
|
| + write_pipe->swap(message_fds.at(0));
|
| }
|
|
|
| // Check that receiving PIDs works across a fork().
|
|
|