summaryrefslogtreecommitdiffstats
path: root/ipc/param_traits_write_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/param_traits_write_macros.h')
-rw-r--r--ipc/param_traits_write_macros.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/ipc/param_traits_write_macros.h b/ipc/param_traits_write_macros.h
index 81f915f..a1aca43 100644
--- a/ipc/param_traits_write_macros.h
+++ b/ipc/param_traits_write_macros.h
@@ -23,16 +23,17 @@
#undef IPC_STRUCT_TRAITS_PARENT
#undef IPC_STRUCT_TRAITS_END
#define IPC_STRUCT_TRAITS_BEGIN(struct_name) \
- void ParamTraits<struct_name>::Write(Message* m, const param_type& p) {
+ void ParamTraits<struct_name>::Write(base::Pickle* m, const param_type& p) {
#define IPC_STRUCT_TRAITS_MEMBER(name) WriteParam(m, p.name);
#define IPC_STRUCT_TRAITS_PARENT(type) ParamTraits<type>::Write(m, p);
#define IPC_STRUCT_TRAITS_END() }
#undef IPC_ENUM_TRAITS_VALIDATE
#define IPC_ENUM_TRAITS_VALIDATE(enum_name, validation_expression) \
- void ParamTraits<enum_name>::Write(Message* m, const param_type& value) { \
- DCHECK(validation_expression); \
- m->WriteInt(static_cast<int>(value)); \
+ void ParamTraits<enum_name>::Write(base::Pickle* m, \
+ const param_type& value) { \
+ DCHECK(validation_expression); \
+ m->WriteInt(static_cast<int>(value)); \
}
#endif // IPC_PARAM_TRAITS_WRITE_MACROS_H_