summaryrefslogtreecommitdiffstats
path: root/base/posix/unix_domain_socket_linux_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/posix/unix_domain_socket_linux_unittest.cc')
-rw-r--r--base/posix/unix_domain_socket_linux_unittest.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/base/posix/unix_domain_socket_linux_unittest.cc b/base/posix/unix_domain_socket_linux_unittest.cc
index bb7154f..22bb172 100644
--- a/base/posix/unix_domain_socket_linux_unittest.cc
+++ b/base/posix/unix_domain_socket_linux_unittest.cc
@@ -9,7 +9,6 @@
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/file_util.h"
-#include "base/files/scoped_file.h"
#include "base/pickle.h"
#include "base/posix/unix_domain_socket_linux.h"
#include "base/synchronization/waitable_event.h"
@@ -26,8 +25,8 @@ TEST(UnixDomainSocketTest, SendRecvMsgAbortOnReplyFDClose) {
int fds[2];
ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds));
- ScopedFD scoped_fd0(fds[0]);
- ScopedFD scoped_fd1(fds[1]);
+ file_util::ScopedFD scoped_fd0(&fds[0]);
+ file_util::ScopedFD scoped_fd1(&fds[1]);
// Have the thread send a synchronous message via the socket.
Pickle request;
@@ -63,7 +62,7 @@ TEST(UnixDomainSocketTest, SendRecvMsgAvoidsSIGPIPE) {
ASSERT_EQ(0, sigaction(SIGPIPE, &act, &oldact));
int fds[2];
ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds));
- ScopedFD scoped_fd1(fds[1]);
+ file_util::ScopedFD scoped_fd1(&fds[1]);
ASSERT_EQ(0, IGNORE_EINTR(close(fds[0])));
// Have the thread send a synchronous message via the socket. Unless the