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

Unified Diff: mojo/public/cpp/bindings/tests/router_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/router_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/router_unittest.cc b/mojo/public/cpp/bindings/tests/router_unittest.cc
index f094143f01aebab90bf470c7bbaeb21a84829cc9..d74e525aef95f368a19f5a5a9ec6c04ffab6cff2 100644
--- a/mojo/public/cpp/bindings/tests/router_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/router_unittest.cc
@@ -73,7 +73,7 @@ class ResponseGenerator : public MessageReceiverWithResponder {
class LazyResponseGenerator : public ResponseGenerator {
public:
- LazyResponseGenerator() : responder_(NULL), name_(0), request_id_(0) {
+ LazyResponseGenerator() : responder_(nullptr), name_(0), request_id_(0) {
}
virtual ~LazyResponseGenerator() {
@@ -92,7 +92,7 @@ class LazyResponseGenerator : public ResponseGenerator {
void Complete() {
SendResponse(name_, request_id_, responder_);
- responder_ = NULL;
+ responder_ = nullptr;
}
private:
@@ -107,7 +107,7 @@ class RouterTest : public testing::Test {
}
virtual void SetUp() override {
- CreateMessagePipe(NULL, &handle0_, &handle1_);
+ CreateMessagePipe(nullptr, &handle0_, &handle1_);
}
virtual void TearDown() override {}
« no previous file with comments | « mojo/public/cpp/bindings/tests/handle_passing_unittest.cc ('k') | mojo/public/cpp/bindings/tests/string_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698