| Index: content/common/cc_messages.cc
|
| diff --git a/content/common/cc_messages.cc b/content/common/cc_messages.cc
|
| index c61c812c510667631f4ae755658a1ccc3ee84464..799fa972fa21e987bb458bb347cf381b45111693 100644
|
| --- a/content/common/cc_messages.cc
|
| +++ b/content/common/cc_messages.cc
|
| @@ -536,26 +536,6 @@ void ParamTraits<cc::RenderPass>::Log(
|
| l->append("])");
|
| }
|
|
|
| -void ParamTraits<cc::Mailbox>::Write(Message* m, const param_type& p) {
|
| - m->WriteBytes(p.name, sizeof(p.name));
|
| -}
|
| -
|
| -bool ParamTraits<cc::Mailbox>::Read(const Message* m,
|
| - PickleIterator* iter,
|
| - param_type* p) {
|
| - const char* bytes = NULL;
|
| - if (!m->ReadBytes(iter, &bytes, sizeof(p->name)))
|
| - return false;
|
| - DCHECK(bytes);
|
| - memcpy(p->name, bytes, sizeof(p->name));
|
| - return true;
|
| -}
|
| -
|
| -void ParamTraits<cc::Mailbox>::Log(const param_type& p, std::string* l) {
|
| - for (size_t i = 0; i < sizeof(p.name); ++i)
|
| - *l += base::StringPrintf("%02x", p.name[i]);
|
| -}
|
| -
|
| namespace {
|
| enum CompositorFrameType {
|
| NO_FRAME,
|
|
|