| Index: ipc/ipc_message_utils.cc
|
| diff --git a/ipc/ipc_message_utils.cc b/ipc/ipc_message_utils.cc
|
| index 0180d743a26a3d90010c758f3c2debb567c6a82f..dc9c5043eae8ae7e847efc76fd52941ccdc66d93 100644
|
| --- a/ipc/ipc_message_utils.cc
|
| +++ b/ipc/ipc_message_utils.cc
|
| @@ -292,6 +292,24 @@ void ParamTraits<unsigned char>::Log(const param_type& p, std::string* l) {
|
| l->append(base::UintToString(p));
|
| }
|
|
|
| +void ParamTraits<signed char>::Write(Message* m, const param_type& p) {
|
| + m->WriteBytes(&p, sizeof(param_type));
|
| +}
|
| +
|
| +bool ParamTraits<signed char>::Read(const Message* m,
|
| + base::PickleIterator* iter,
|
| + param_type* r) {
|
| + const char* data;
|
| + if (!iter->ReadBytes(&data, sizeof(param_type)))
|
| + return false;
|
| + memcpy(r, data, sizeof(param_type));
|
| + return true;
|
| +}
|
| +
|
| +void ParamTraits<signed char>::Log(const param_type& p, std::string* l) {
|
| + l->append(base::IntToString(p));
|
| +}
|
| +
|
| void ParamTraits<unsigned short>::Write(Message* m, const param_type& p) {
|
| m->WriteBytes(&p, sizeof(param_type));
|
| }
|
|
|