Index: ipc/ipc_message_macros.h |
diff --git a/ipc/ipc_message_macros.h b/ipc/ipc_message_macros.h |
index a573265bd2b14bf0eeffb736a1c688ab2b6e3b59..6126b5929acbfff29a2551b2323a624dab55dc14 100644 |
--- a/ipc/ipc_message_macros.h |
+++ b/ipc/ipc_message_macros.h |
@@ -402,8 +402,7 @@ |
} |
// This corresponds to an enum value from IPCMessageStart. |
-#define IPC_MESSAGE_CLASS(message) \ |
- IPC_MESSAGE_ID_CLASS(message.type()) |
+#define IPC_MESSAGE_CLASS(message) IPC_MESSAGE_ID_CLASS((message).type()) |
// Deprecated legacy macro names. |
// TODO(mdempsky): Replace uses with generic names. |