Index: webrtc/base/socket_unittest.cc |
diff --git a/webrtc/base/socket_unittest.cc b/webrtc/base/socket_unittest.cc |
index 16edf905e518b553466da121590eb0674c9ee7f7..4a59a169b8a8e065f3ebb75eb55cc1df8a09538e 100644 |
--- a/webrtc/base/socket_unittest.cc |
+++ b/webrtc/base/socket_unittest.cc |
@@ -224,7 +224,7 @@ void SocketTest::ConnectInternal(const IPAddress& loopback) { |
// Ensure no pending server connections, since we haven't done anything yet. |
EXPECT_FALSE(sink.Check(server.get(), testing::SSE_READ)); |
- EXPECT_TRUE(NULL == server->Accept(&accept_addr)); |
+ EXPECT_TRUE(nullptr == server->Accept(&accept_addr)); |
EXPECT_TRUE(accept_addr.IsNil()); |
// Attempt connect to listening socket. |
@@ -335,7 +335,7 @@ void SocketTest::ConnectFailInternal(const IPAddress& loopback) { |
// Should be no pending server connections. |
EXPECT_FALSE(sink.Check(server.get(), testing::SSE_READ)); |
- EXPECT_TRUE(NULL == server->Accept(&accept_addr)); |
+ EXPECT_TRUE(nullptr == server->Accept(&accept_addr)); |
EXPECT_EQ(IPAddress(), accept_addr.ipaddr()); |
} |
@@ -376,7 +376,7 @@ void SocketTest::ConnectWithDnsLookupFailInternal(const IPAddress& loopback) { |
EXPECT_TRUE(client->GetRemoteAddress().IsNil()); |
// Should be no pending server connections. |
EXPECT_FALSE(sink.Check(server.get(), testing::SSE_READ)); |
- EXPECT_TRUE(NULL == server->Accept(&accept_addr)); |
+ EXPECT_TRUE(nullptr == server->Accept(&accept_addr)); |
EXPECT_TRUE(accept_addr.IsNil()); |
} |