Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(885)

Unified Diff: mojo/public/cpp/bindings/tests/handle_passing_unittest.cc

Issue 613053002: Mojo: NULL -> nullptr in mojo/public/cpp/bindings and also for the bindings generator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/public/cpp/bindings/tests/handle_passing_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/handle_passing_unittest.cc b/mojo/public/cpp/bindings/tests/handle_passing_unittest.cc
index 43598e15bf96dd281e279f8934e9492e0e51b2ee..d4cffb4ce13ecce2e21de0a492cc1b6d7bef6a63 100644
--- a/mojo/public/cpp/bindings/tests/handle_passing_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/handle_passing_unittest.cc
@@ -69,7 +69,7 @@ class SampleFactoryImpl : public InterfaceImpl<sample::Factory> {
ScopedMessagePipeHandle pipe0;
if (!text2.empty()) {
- CreateMessagePipe(NULL, &pipe0, &pipe1_);
+ CreateMessagePipe(nullptr, &pipe0, &pipe1_);
EXPECT_TRUE(WriteTextMessage(pipe1_.get(), text2));
}
@@ -88,7 +88,7 @@ class SampleFactoryImpl : public InterfaceImpl<sample::Factory> {
ASSERT_TRUE(pipe.is_valid());
uint32_t data_size = 0;
ASSERT_EQ(MOJO_RESULT_OK,
- ReadDataRaw(pipe.get(), NULL, &data_size,
+ ReadDataRaw(pipe.get(), nullptr, &data_size,
MOJO_READ_DATA_FLAG_QUERY));
ASSERT_NE(0, static_cast<int>(data_size));
char data[64];
« no previous file with comments | « mojo/public/cpp/bindings/tests/connector_unittest.cc ('k') | mojo/public/cpp/bindings/tests/router_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698