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

Unified Diff: mojo/system/message_in_transit.h

Issue 597413002: Mojo: NULL -> nullptr in mojo/system and mojo/embedder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: EXPECT_TRUE 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/system/memory_unittest.cc ('k') | mojo/system/message_pipe.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/message_in_transit.h
diff --git a/mojo/system/message_in_transit.h b/mojo/system/message_in_transit.h
index c812d56c66b3d5847e272f2ece95ff52b7428e15..9101f365a8cab4ed38e1c2de76d798189ffc8f21 100644
--- a/mojo/system/message_in_transit.h
+++ b/mojo/system/message_in_transit.h
@@ -106,7 +106,7 @@ class MOJO_SYSTEM_IMPL_EXPORT MessageInTransit {
const void* transport_data_buffer() const {
return (total_size() > main_buffer_size())
? static_cast<const char*>(buffer_) + main_buffer_size()
- : NULL;
+ : nullptr;
}
size_t transport_data_buffer_size() const {
return total_size() - main_buffer_size();
« no previous file with comments | « mojo/system/memory_unittest.cc ('k') | mojo/system/message_pipe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698