Index: ipc/ipc_channel_posix_unittest.cc |
diff --git a/ipc/ipc_channel_posix_unittest.cc b/ipc/ipc_channel_posix_unittest.cc |
index 2c6e53e708a2629b3ae4e7cd22b9fc3196370ef0..d98d0fa3e369e35554dad24ff58c4d5f857e922b 100644 |
--- a/ipc/ipc_channel_posix_unittest.cc |
+++ b/ipc/ipc_channel_posix_unittest.cc |
@@ -375,7 +375,7 @@ TEST_F(IPCChannelPosixTest, IsNamedServerInitialized) { |
const std::string& connection_socket_name = GetConnectionSocketName(); |
IPCChannelPosixTestListener listener(false); |
IPC::ChannelHandle chan_handle(connection_socket_name); |
- ASSERT_TRUE(base::Delete(base::FilePath(connection_socket_name), false)); |
+ ASSERT_TRUE(base::DeleteFile(base::FilePath(connection_socket_name), false)); |
ASSERT_FALSE(IPC::Channel::IsNamedServerInitialized( |
connection_socket_name)); |
IPC::Channel channel(chan_handle, IPC::Channel::MODE_NAMED_SERVER, &listener); |