Chromium Code Reviews| Index: ipc/ipc_message.cc |
| diff --git a/ipc/ipc_message.cc b/ipc/ipc_message.cc |
| index 7aa268e6dfba9143a8c9e4d9f7987bd60ffa7628..acdb8607e3a8fe9e00464e05cba31ca7ed3c7bbc 100644 |
| --- a/ipc/ipc_message.cc |
| +++ b/ipc/ipc_message.cc |
| @@ -160,4 +160,9 @@ bool Message::HasMojoHandles() const { |
| return attachment_set_.get() && 0 < attachment_set_->num_mojo_handles(); |
| } |
| +bool Message::HasBrokerableAttachments() const { |
| + return attachment_set_.get() && |
| + 0 < attachment_set_->num_brokerable_attachments(); |
|
Tom Sepez
2015/06/19 18:04:11
nit: prefer blah > 0 to 0 < blah despite what the
erikchen
2015/06/23 22:37:00
Done.
|
| +} |
| + |
| } // namespace IPC |