Index: ipc/unix_domain_socket_util_unittest.cc |
diff --git a/ipc/unix_domain_socket_util_unittest.cc b/ipc/unix_domain_socket_util_unittest.cc |
index 90c2ada7540274b3a9cd6b5a9a9b85f235b248a8..a67c0773026b6cd2ced554ec879e291ebc353f92 100644 |
--- a/ipc/unix_domain_socket_util_unittest.cc |
+++ b/ipc/unix_domain_socket_util_unittest.cc |
@@ -27,7 +27,9 @@ |
base::Bind(&SocketAcceptor::StartWatching, base::Unretained(this), fd)); |
} |
- ~SocketAcceptor() override { Close(); } |
+ virtual ~SocketAcceptor() { |
+ Close(); |
+ } |
int server_fd() const { return server_fd_; } |
@@ -58,13 +60,13 @@ |
watcher->StopWatchingFileDescriptor(); |
delete watcher; |
} |
- void OnFileCanReadWithoutBlocking(int fd) override { |
+ virtual void OnFileCanReadWithoutBlocking(int fd) override { |
ASSERT_EQ(-1, server_fd_); |
IPC::ServerAcceptConnection(fd, &server_fd_); |
watcher_->StopWatchingFileDescriptor(); |
accepted_event_.Signal(); |
} |
- void OnFileCanWriteWithoutBlocking(int fd) override {} |
+ virtual void OnFileCanWriteWithoutBlocking(int fd) override {} |
int server_fd_; |
base::MessageLoopProxy* target_thread_; |