diff options
Diffstat (limited to 'chromium/ipc/ipc_message.cc')
-rw-r--r-- | chromium/ipc/ipc_message.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/ipc/ipc_message.cc b/chromium/ipc/ipc_message.cc index 10237293168..c26a542d984 100644 --- a/chromium/ipc/ipc_message.cc +++ b/chromium/ipc/ipc_message.cc @@ -84,7 +84,7 @@ void Message::Init() { #if BUILDFLAG(IPC_MESSAGE_LOG_ENABLED) received_time_ = 0; dont_log_ = false; - log_data_ = NULL; + log_data_ = nullptr; #endif } @@ -104,7 +104,7 @@ void Message::SetHeaderValues(int32_t routing, uint32_t type, uint32_t flags) { } void Message::EnsureMessageAttachmentSet() { - if (attachment_set_.get() == NULL) + if (!attachment_set_.get()) attachment_set_ = new MessageAttachmentSet; } |