Index: mojo/system/data_pipe.cc |
diff --git a/mojo/system/data_pipe.cc b/mojo/system/data_pipe.cc |
index dfef4c4333112a279e52b04f0abd1932661c7681..767657d4280f954f57e0b976219a60dcdd9b5ca3 100644 |
--- a/mojo/system/data_pipe.cc |
+++ b/mojo/system/data_pipe.cc |
@@ -436,8 +436,8 @@ DataPipe::DataPipe(bool has_local_producer, |
capacity_num_bytes_(validated_options.capacity_num_bytes), |
producer_open_(true), |
consumer_open_(true), |
- producer_waiter_list_(has_local_producer ? new WaiterList() : NULL), |
- consumer_waiter_list_(has_local_consumer ? new WaiterList() : NULL), |
+ producer_waiter_list_(has_local_producer ? new WaiterList() : nullptr), |
+ consumer_waiter_list_(has_local_consumer ? new WaiterList() : nullptr), |
producer_two_phase_max_num_bytes_written_(0), |
consumer_two_phase_max_num_bytes_read_(0) { |
// Check that the passed in options actually are validated. |