| Index: cc/ipc/transferable_resource_struct_traits.h
|
| diff --git a/cc/ipc/transferable_resource_struct_traits.h b/cc/ipc/transferable_resource_struct_traits.h
|
| index a85f054e5846588dd1a691c0971baaa9d7421bcb..1e3f24b75678f80eff3a178195dc3c6b2eba00d1 100644
|
| --- a/cc/ipc/transferable_resource_struct_traits.h
|
| +++ b/cc/ipc/transferable_resource_struct_traits.h
|
| @@ -22,6 +22,11 @@ struct StructTraits<cc::mojom::TransferableResourceDataView,
|
| return static_cast<cc::mojom::ResourceFormat>(resource.format);
|
| }
|
|
|
| + static gfx::mojom::BufferFormat buffer_format(
|
| + const cc::TransferableResource& resource) {
|
| + return static_cast<gfx::mojom::BufferFormat>(resource.buffer_format);
|
| + }
|
| +
|
| static uint32_t filter(const cc::TransferableResource& resource) {
|
| return resource.filter;
|
| }
|
|
|