Index: content/common/cc_messages.h |
diff --git a/content/common/cc_messages.h b/content/common/cc_messages.h |
index 7ab1964407e23f9e1c32fd796baebb8f1d6e3e3f..13701fce5327a5f4f85228af608602da6c8c44de 100644 |
--- a/content/common/cc_messages.h |
+++ b/content/common/cc_messages.h |
@@ -91,6 +91,14 @@ struct CONTENT_EXPORT ParamTraits<cc::CompositorFrame> { |
}; |
template<> |
+struct CONTENT_EXPORT ParamTraits<cc::CompositorFrameAck> { |
+ typedef cc::CompositorFrameAck param_type; |
+ static void Write(Message* m, const param_type& p); |
+ static bool Read(const Message* m, PickleIterator* iter, param_type* p); |
+ static void Log(const param_type& p, std::string* l); |
+}; |
+ |
+template<> |
struct CONTENT_EXPORT ParamTraits<cc::DelegatedFrameData> { |
typedef cc::DelegatedFrameData param_type; |
static void Write(Message* m, const param_type& p); |
@@ -221,10 +229,6 @@ IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResource) |
IPC_STRUCT_TRAITS_MEMBER(mailbox) |
IPC_STRUCT_TRAITS_END() |
-IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameAck) |
- IPC_STRUCT_TRAITS_MEMBER(resources) |
-IPC_STRUCT_TRAITS_END() |
- |
IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata) |
IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset) |
IPC_STRUCT_TRAITS_MEMBER(page_scale_factor) |
@@ -239,4 +243,5 @@ IPC_STRUCT_TRAITS_END() |
IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData) |
IPC_STRUCT_TRAITS_MEMBER(mailbox) |
IPC_STRUCT_TRAITS_MEMBER(sync_point) |
+ IPC_STRUCT_TRAITS_MEMBER(size) |
IPC_STRUCT_TRAITS_END() |