diff options
Diffstat (limited to 'chrome/common/mach_ipc_mac.h')
-rw-r--r-- | chrome/common/mach_ipc_mac.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/common/mach_ipc_mac.h b/chrome/common/mach_ipc_mac.h index 8c345dd..42b9c65 100644 --- a/chrome/common/mach_ipc_mac.h +++ b/chrome/common/mach_ipc_mac.h @@ -167,8 +167,9 @@ class MachMessage { bool AddDescriptor(const MachMsgPortDescriptor &desc); int GetDescriptorCount() const { - return storage_->body.msgh_descriptor_count; - } + return storage_->body.msgh_descriptor_count; + } + MachMsgPortDescriptor *GetDescriptor(int n); // Convenience method which gets the mach port described by the descriptor |