| Index: ipc/ipc_message_utils.h
|
| diff --git a/ipc/ipc_message_utils.h b/ipc/ipc_message_utils.h
|
| index 7121c19e304fcea3dad3d765695f7b0a113e07d2..e9c0ba0b0b4dcab95b6f858ead552847425260de 100644
|
| --- a/ipc/ipc_message_utils.h
|
| +++ b/ipc/ipc_message_utils.h
|
| @@ -216,8 +216,12 @@ struct ParamTraits<unsigned long long> {
|
| template <>
|
| struct IPC_EXPORT ParamTraits<float> {
|
| typedef float param_type;
|
| - static void Write(Message* m, const param_type& p);
|
| - static bool Read(const Message* m, PickleIterator* iter, param_type* r);
|
| + static void Write(Message* m, const param_type& p) {
|
| + m->WriteFloat(p);
|
| + }
|
| + static bool Read(const Message* m, PickleIterator* iter, param_type* r) {
|
| + return m->ReadFloat(iter, r);
|
| + }
|
| static void Log(const param_type& p, std::string* l);
|
| };
|
|
|
|
|