Index: gpu/ipc/gpu_command_buffer_traits.h |
diff --git a/gpu/ipc/gpu_command_buffer_traits.h b/gpu/ipc/gpu_command_buffer_traits.h |
index b726f7eac077d97da1a8b6fa60db2f186cb4ec79..f66a8cf2d3f89b2b8b5af66eaf64f054f70a974f 100644 |
--- a/gpu/ipc/gpu_command_buffer_traits.h |
+++ b/gpu/ipc/gpu_command_buffer_traits.h |
@@ -22,40 +22,50 @@ namespace IPC { |
template <> |
struct GPU_EXPORT ParamTraits<gpu::CommandBuffer::State> { |
typedef gpu::CommandBuffer::State param_type; |
- static void Write(Message* m, const param_type& p); |
- static bool Read(const Message* m, base::PickleIterator* iter, param_type* p); |
+ static void Write(base::Pickle* m, const param_type& p); |
+ static bool Read(const base::Pickle* m, |
+ base::PickleIterator* iter, |
+ param_type* p); |
static void Log(const param_type& p, std::string* l); |
}; |
template <> |
struct GPU_EXPORT ParamTraits<gpu::SyncToken> { |
typedef gpu::SyncToken param_type; |
- static void Write(Message* m, const param_type& p); |
- static bool Read(const Message* m, base::PickleIterator* iter, param_type* p); |
+ static void Write(base::Pickle* m, const param_type& p); |
+ static bool Read(const base::Pickle* m, |
+ base::PickleIterator* iter, |
+ param_type* p); |
static void Log(const param_type& p, std::string* l); |
}; |
template<> |
struct GPU_EXPORT ParamTraits<gpu::Mailbox> { |
typedef gpu::Mailbox param_type; |
- static void Write(Message* m, const param_type& p); |
- static bool Read(const Message* m, base::PickleIterator* iter, param_type* p); |
+ static void Write(base::Pickle* m, const param_type& p); |
+ static bool Read(const base::Pickle* m, |
+ base::PickleIterator* iter, |
+ param_type* p); |
static void Log(const param_type& p, std::string* l); |
}; |
template <> |
struct GPU_EXPORT ParamTraits<gpu::MailboxHolder> { |
typedef gpu::MailboxHolder param_type; |
- static void Write(Message* m, const param_type& p); |
- static bool Read(const Message* m, base::PickleIterator* iter, param_type* p); |
+ static void Write(base::Pickle* m, const param_type& p); |
+ static bool Read(const base::Pickle* m, |
+ base::PickleIterator* iter, |
+ param_type* p); |
static void Log(const param_type& p, std::string* l); |
}; |
template <> |
struct GPU_EXPORT ParamTraits<gpu::ValueState> { |
typedef gpu::ValueState param_type; |
- static void Write(Message* m, const param_type& p); |
- static bool Read(const Message* m, base::PickleIterator* iter, param_type* p); |
+ static void Write(base::Pickle* m, const param_type& p); |
+ static bool Read(const base::Pickle* m, |
+ base::PickleIterator* iter, |
+ param_type* p); |
static void Log(const param_type& p, std::string* l); |
}; |