Index: cc/ipc/cc_param_traits.h |
diff --git a/cc/ipc/cc_param_traits.h b/cc/ipc/cc_param_traits.h |
index 310b3f0b72a8bd1764492ddd272644690c059b00..3110ce58516c25e9bc5b61da015b857d1af6bae4 100644 |
--- a/cc/ipc/cc_param_traits.h |
+++ b/cc/ipc/cc_param_traits.h |
@@ -73,6 +73,17 @@ struct CC_IPC_EXPORT ParamTraits<cc::RenderPass> { |
}; |
template <> |
+struct CC_IPC_EXPORT ParamTraits<cc::SurfaceId> { |
+ typedef cc::SurfaceId 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::CompositorFrame> { |
typedef cc::CompositorFrame param_type; |
static void Write(base::Pickle* m, const param_type& p); |