| Index: mojo/public/cpp/bindings/tests/validation_unittest.cc
|
| diff --git a/mojo/public/cpp/bindings/tests/validation_unittest.cc b/mojo/public/cpp/bindings/tests/validation_unittest.cc
|
| index da2fb72e9bf58c945c37cf8a016e82b9c7496ac7..bf0894c5279431afde084c555366d5afb6b9295e 100644
|
| --- a/mojo/public/cpp/bindings/tests/validation_unittest.cc
|
| +++ b/mojo/public/cpp/bindings/tests/validation_unittest.cc
|
| @@ -196,7 +196,7 @@ class ValidationTest : public testing::Test {
|
|
|
| class ValidationIntegrationTest : public ValidationTest {
|
| public:
|
| - ValidationIntegrationTest() : test_message_receiver_(NULL) {
|
| + ValidationIntegrationTest() : test_message_receiver_(nullptr) {
|
| }
|
|
|
| virtual ~ValidationIntegrationTest() {
|
| @@ -205,14 +205,14 @@ class ValidationIntegrationTest : public ValidationTest {
|
| virtual void SetUp() override {
|
| ScopedMessagePipeHandle tester_endpoint;
|
| ASSERT_EQ(MOJO_RESULT_OK,
|
| - CreateMessagePipe(NULL, &tester_endpoint, &testee_endpoint_));
|
| + CreateMessagePipe(nullptr, &tester_endpoint, &testee_endpoint_));
|
| test_message_receiver_ =
|
| new TestMessageReceiver(this, tester_endpoint.Pass());
|
| }
|
|
|
| virtual void TearDown() override {
|
| delete test_message_receiver_;
|
| - test_message_receiver_ = NULL;
|
| + test_message_receiver_ = nullptr;
|
|
|
| // Make sure that the other end receives the OnConnectionError()
|
| // notification.
|
| @@ -369,7 +369,7 @@ TEST_F(ValidationTest, InputParser) {
|
| "[dist4]a [dist4]a [anchr]a",
|
| "[dist4]a [anchr]a [dist4]a [anchr]a",
|
| "0 [handles]50",
|
| - NULL
|
| + nullptr
|
| };
|
|
|
| for (size_t i = 0; error_inputs[i]; ++i) {
|
|
|