Index: cc/ipc/cc_param_traits.h |
diff --git a/cc/ipc/cc_param_traits.h b/cc/ipc/cc_param_traits.h |
index 52ed04ae610f0012a66ee5d8301a076e103b05a4..67ab1453a18f31f252f867039e858321aa4f1b51 100644 |
--- a/cc/ipc/cc_param_traits.h |
+++ b/cc/ipc/cc_param_traits.h |
@@ -71,6 +71,17 @@ struct CC_IPC_EXPORT ParamTraits<cc::RenderPass> { |
}; |
template <> |
+struct CC_IPC_EXPORT ParamTraits<cc::FrameSinkId> { |
+ typedef cc::FrameSinkId param_type; |
+ static void GetSize(base::PickleSizer* s, const 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* r); |
+ static void Log(const param_type& p, std::string* l); |
+}; |
+ |
+template <> |
struct CC_IPC_EXPORT ParamTraits<cc::SurfaceId> { |
typedef cc::SurfaceId param_type; |
static void GetSize(base::PickleSizer* s, const param_type& p); |