| Index: ppapi/proxy/resource_message_params.h
|
| diff --git a/ppapi/proxy/resource_message_params.h b/ppapi/proxy/resource_message_params.h
|
| index 9e76d1ec06c57a331d270237982348dc34780329..63a0730f1d7a9a5ea90e59cd01f62d53ab518704 100644
|
| --- a/ppapi/proxy/resource_message_params.h
|
| +++ b/ppapi/proxy/resource_message_params.h
|
| @@ -186,12 +186,13 @@ namespace IPC {
|
| template <> struct PPAPI_PROXY_EXPORT
|
| ParamTraits<ppapi::proxy::ResourceMessageCallParams> {
|
| typedef ppapi::proxy::ResourceMessageCallParams param_type;
|
| - static void Write(Message* m, const param_type& p) {
|
| - p.Serialize(m);
|
| + static void Write(base::Pickle* m, const param_type& p) {
|
| + p.Serialize(static_cast<IPC::Message*>(m));
|
| }
|
| - static bool Read(const Message* m, base::PickleIterator* iter,
|
| + static bool Read(const base::Pickle* m,
|
| + base::PickleIterator* iter,
|
| param_type* r) {
|
| - return r->Deserialize(m, iter);
|
| + return r->Deserialize(static_cast<const IPC::Message*>(m), iter);
|
| }
|
| static void Log(const param_type& p, std::string* l) {
|
| }
|
| @@ -200,12 +201,13 @@ ParamTraits<ppapi::proxy::ResourceMessageCallParams> {
|
| template <> struct PPAPI_PROXY_EXPORT
|
| ParamTraits<ppapi::proxy::ResourceMessageReplyParams> {
|
| typedef ppapi::proxy::ResourceMessageReplyParams param_type;
|
| - static void Write(Message* m, const param_type& p) {
|
| - p.Serialize(m);
|
| + static void Write(base::Pickle* m, const param_type& p) {
|
| + p.Serialize(static_cast<IPC::Message*>(m));
|
| }
|
| - static bool Read(const Message* m, base::PickleIterator* iter,
|
| + static bool Read(const base::Pickle* m,
|
| + base::PickleIterator* iter,
|
| param_type* r) {
|
| - return r->Deserialize(m, iter);
|
| + return r->Deserialize(static_cast<const IPC::Message*>(m), iter);
|
| }
|
| static void Log(const param_type& p, std::string* l) {
|
| }
|
|
|