Chromium Code Reviews| Index: base/mach_ipc_mac.h |
| diff --git a/base/mach_ipc_mac.h b/base/mach_ipc_mac.h |
| index d506a00c89d657e0c2262d9a8de43bc85dfcc9ca..bfcb36ad4be09161fa2406e2568ddf3e11f67afb 100644 |
| --- a/base/mach_ipc_mac.h |
| +++ b/base/mach_ipc_mac.h |
| @@ -223,10 +223,8 @@ class MachMessage { |
| // kEmptyMessageSize needs to have the definition of MachMessageData before |
| // it. |
| public: |
| - // The size of an empty message with no data. |
| - static const size_t kEmptyMessageSize = sizeof(mach_msg_header_t) + |
| - sizeof(mach_msg_body_t) + |
| - sizeof(MessageDataPacket); |
| + // The size of an empty message (defined in .mm file) |
| + static const size_t kEmptyMessageSize; |
|
Peter Kasting
2011/03/26 19:11:47
Nit: No need for comment about where it's defined
KushalP
2011/03/26 20:23:14
Done.
|
| private: |
| MachMessageData *storage_; |