| Index: content/common/mac/attributed_string_coder.h
|
| diff --git a/content/common/mac/attributed_string_coder.h b/content/common/mac/attributed_string_coder.h
|
| index 971088e856fd7c3df79d6b38d1f307d2627cd234..6976d4e0a4d0bfe23b4bb8d9ef2831512a75a339 100644
|
| --- a/content/common/mac/attributed_string_coder.h
|
| +++ b/content/common/mac/attributed_string_coder.h
|
| @@ -21,6 +21,11 @@ class NSAttributedString;
|
| class NSDictionary;
|
| #endif
|
|
|
| +namespace base {
|
| +class Pickle;
|
| +class PickleIterator;
|
| +}
|
| +
|
| namespace mac {
|
|
|
| // This class will serialize the font information of an NSAttributedString so
|
| @@ -100,16 +105,20 @@ namespace IPC {
|
| template <>
|
| struct ParamTraits<mac::AttributedStringCoder::EncodedString> {
|
| typedef mac::AttributedStringCoder::EncodedString param_type;
|
| - static void Write(Message* m, const param_type& p);
|
| - static bool Read(const Message* m, base::PickleIterator* iter, param_type* r);
|
| + static void Write(base::Pickle* m, const param_type& p);
|
| + static bool Read(const base::Pickle* m,
|
| + base::PickleIterator* iter,
|
| + param_type* r);
|
| static void Log(const param_type& p, std::string* l);
|
| };
|
|
|
| template <>
|
| struct ParamTraits<mac::AttributedStringCoder::FontAttribute> {
|
| typedef mac::AttributedStringCoder::FontAttribute param_type;
|
| - static void Write(Message* m, const param_type& p);
|
| - static bool Read(const Message* m, base::PickleIterator* iter, param_type* r);
|
| + static void Write(base::Pickle* m, const param_type& p);
|
| + static bool Read(const base::Pickle* m,
|
| + base::PickleIterator* iter,
|
| + param_type* r);
|
| static void Log(const param_type& p, std::string* l);
|
| };
|
|
|
|
|