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

Unified Diff: mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl

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/tools/bindings/generators/cpp_templates/interface_definition.tmpl
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl
index cee582002da8f99f785403c7928e34af027af012..bb5b777346b0ac9fed58efb2bbf4c5ad5def354e 100644
--- a/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl
+++ b/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl
@@ -202,13 +202,13 @@ void {{class_name}}_{{method.name}}_ProxyToResponder::Run(
// be good reason to close the connection. However, we don't have a way to do
// that from here. We should add a way.
delete responder_;
- responder_ = NULL;
+ responder_ = nullptr;
}
{%- endif -%}
{%- endfor %}
{{class_name}}Stub::{{class_name}}Stub()
- : sink_(NULL) {
+ : sink_(nullptr) {
}
{#--- Stub definition #}

Powered by Google App Engine
This is Rietveld 408576698