| Index: content/common/content_param_traits.h
|
| diff --git a/content/common/content_param_traits.h b/content/common/content_param_traits.h
|
| index e90a14bd05c618090fc62b9d981b3dcf2d0e7017..61107aa06e187ec6dd73a8057e10451e3a32006f 100644
|
| --- a/content/common/content_param_traits.h
|
| +++ b/content/common/content_param_traits.h
|
| @@ -27,12 +27,10 @@ namespace IPC {
|
| template <>
|
| struct ParamTraits<content::WebCursor> {
|
| typedef content::WebCursor param_type;
|
| - static void Write(Message* m, const param_type& p) {
|
| - p.Serialize(m);
|
| - }
|
| - static bool Read(const Message* m,
|
| + static void Write(base::Pickle* m, const param_type& p) { p.Serialize(m); }
|
| + static bool Read(const base::Pickle* m,
|
| base::PickleIterator* iter,
|
| - param_type* r) {
|
| + param_type* r) {
|
| return r->Deserialize(iter);
|
| }
|
| static void Log(const param_type& p, std::string* l) {
|
| @@ -44,9 +42,11 @@ typedef const blink::WebInputEvent* WebInputEventPointer;
|
| template <>
|
| struct ParamTraits<WebInputEventPointer> {
|
| typedef WebInputEventPointer param_type;
|
| - static void Write(Message* m, const param_type& p);
|
| + static void Write(base::Pickle* m, const param_type& p);
|
| // Note: upon read, the event has the lifetime of the message.
|
| - static bool Read(const Message* m, base::PickleIterator* iter, param_type* r);
|
| + static bool Read(const base::Pickle* m,
|
| + base::PickleIterator* iter,
|
| + param_type* r);
|
| static void Log(const param_type& p, std::string* l);
|
| };
|
|
|
|
|