Index: cc/ipc/render_pass_struct_traits.h |
diff --git a/cc/ipc/render_pass_struct_traits.h b/cc/ipc/render_pass_struct_traits.h |
index 011f161fee13c03ab74143864c8808b634f484c9..45d341168efe32e2a37d0cb966913aab6e52e49d 100644 |
--- a/cc/ipc/render_pass_struct_traits.h |
+++ b/cc/ipc/render_pass_struct_traits.h |
@@ -15,10 +15,6 @@ namespace mojo { |
template <> |
struct StructTraits<cc::mojom::RenderPass, std::unique_ptr<cc::RenderPass>> { |
- static void* SetUpContext(const std::unique_ptr<cc::RenderPass>& input); |
- static void TearDownContext(const std::unique_ptr<cc::RenderPass>& input, |
- void* context); |
- |
static const cc::RenderPassId& id( |
const std::unique_ptr<cc::RenderPass>& input) { |
return input->id; |
@@ -49,17 +45,6 @@ struct StructTraits<cc::mojom::RenderPass, std::unique_ptr<cc::RenderPass>> { |
return input->quad_list; |
} |
- static const mojo::Array<uint32_t>& shared_quad_state_references( |
- const std::unique_ptr<cc::RenderPass>& input, |
- void* context) { |
- return *static_cast<mojo::Array<uint32_t>*>(context); |
- } |
- |
- static const cc::SharedQuadStateList& shared_quad_state_list( |
- const std::unique_ptr<cc::RenderPass>& input) { |
- return input->shared_quad_state_list; |
- } |
- |
static bool Read(cc::mojom::RenderPassDataView data, |
std::unique_ptr<cc::RenderPass>* out); |
}; |