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

Unified Diff: mojo/public/cpp/bindings/lib/interface_impl_internal.h

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/fixed_buffer.cc ('k') | mojo/public/cpp/bindings/lib/interface_ptr_internal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/lib/interface_impl_internal.h
diff --git a/mojo/public/cpp/bindings/lib/interface_impl_internal.h b/mojo/public/cpp/bindings/lib/interface_impl_internal.h
index 788da664a36a8d9e4cff360087027870e952c862..492b1822496749d6d68dea24f71fc866d5193a11 100644
--- a/mojo/public/cpp/bindings/lib/interface_impl_internal.h
+++ b/mojo/public/cpp/bindings/lib/interface_impl_internal.h
@@ -30,8 +30,8 @@ class InterfaceImplState : public ErrorHandler {
typedef typename Interface::Client Client;
explicit InterfaceImplState(InterfaceImplBase<Interface>* instance)
- : router_(NULL),
- proxy_(NULL),
+ : router_(nullptr),
+ proxy_(nullptr),
instance_bound_to_pipe_(false)
#ifndef NDEBUG
,
@@ -48,7 +48,7 @@ class InterfaceImplState : public ErrorHandler {
#endif
delete proxy_;
if (router_) {
- router_->set_error_handler(NULL);
+ router_->set_error_handler(nullptr);
delete router_;
}
}
« no previous file with comments | « mojo/public/cpp/bindings/lib/fixed_buffer.cc ('k') | mojo/public/cpp/bindings/lib/interface_ptr_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698