Replace NULL with nullptr or null in webrtc/base/.
BUG=webrtc:7147
Review-Url: https://codereview.webrtc.org/2718663005
Cr-Commit-Position: refs/heads/master@{#16878}
diff --git a/webrtc/base/sigslottester_unittest.cc b/webrtc/base/sigslottester_unittest.cc
index 778e352..00b2577 100755
--- a/webrtc/base/sigslottester_unittest.cc
+++ b/webrtc/base/sigslottester_unittest.cc
@@ -68,9 +68,9 @@
SigslotTester1<const std::string*, const std::string*> slot1(&source1,
&capture1);
EXPECT_EQ(0, slot1.callback_count());
- source1.emit(NULL);
+ source1.emit(nullptr);
EXPECT_EQ(1, slot1.callback_count());
- EXPECT_EQ(NULL, capture1);
+ EXPECT_EQ(nullptr, capture1);
}
TEST(SigslotTester, TestSignalWithConstPointerArgs) {
@@ -78,9 +78,9 @@
std::string* capture1;
SigslotTester1<std::string* const, std::string*> slot1(&source1, &capture1);
EXPECT_EQ(0, slot1.callback_count());
- source1.emit(NULL);
+ source1.emit(nullptr);
EXPECT_EQ(1, slot1.callback_count());
- EXPECT_EQ(NULL, capture1);
+ EXPECT_EQ(nullptr, capture1);
}
} // namespace rtc