summaryrefslogtreecommitdiffstats
path: root/chrome/common/ipc_message_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/ipc_message_utils.h')
-rw-r--r--chrome/common/ipc_message_utils.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/common/ipc_message_utils.h b/chrome/common/ipc_message_utils.h
index 4234737..476d7f9 100644
--- a/chrome/common/ipc_message_utils.h
+++ b/chrome/common/ipc_message_utils.h
@@ -996,9 +996,11 @@ struct ParamTraits<webkit_glue::WebApplicationInfo> {
// Generic message subclasses
// Used for asynchronous messages.
-template <class Param>
+template <class ParamType>
class MessageWithTuple : public Message {
public:
+ typedef ParamType Param;
+
MessageWithTuple(int32 routing_id, uint16 type, const Param& p)
: Message(routing_id, type, PRIORITY_NORMAL) {
WriteParam(this, p);