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

Unified Diff: mojo/public/cpp/bindings/lib/router.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
« no previous file with comments | « mojo/public/cpp/bindings/lib/message_header_validator.h ('k') | mojo/public/cpp/bindings/lib/shared_ptr.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/lib/router.cc
diff --git a/mojo/public/cpp/bindings/lib/router.cc b/mojo/public/cpp/bindings/lib/router.cc
index 5355faf7477c29ca23f4695b9c998c0dc0417b72..34788404d0fba90a513ad118b81d4a9da8901a57 100644
--- a/mojo/public/cpp/bindings/lib/router.cc
+++ b/mojo/public/cpp/bindings/lib/router.cc
@@ -58,7 +58,7 @@ Router::Router(ScopedMessagePipeHandle message_pipe,
filters_(filters.Pass()),
connector_(message_pipe.Pass(), waiter),
weak_self_(this),
- incoming_receiver_(NULL),
+ incoming_receiver_(nullptr),
next_request_id_(0),
testing_mode_(false) {
filters_.SetSink(&thunk_);
@@ -66,7 +66,7 @@ Router::Router(ScopedMessagePipeHandle message_pipe,
}
Router::~Router() {
- weak_self_.set_value(NULL);
+ weak_self_.set_value(nullptr);
for (ResponderMap::const_iterator i = responders_.begin();
i != responders_.end(); ++i) {
« no previous file with comments | « mojo/public/cpp/bindings/lib/message_header_validator.h ('k') | mojo/public/cpp/bindings/lib/shared_ptr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698