| Index: cc/ipc/quads_struct_traits.h
|
| diff --git a/cc/ipc/quads_struct_traits.h b/cc/ipc/quads_struct_traits.h
|
| index ed602beb8f1aed81776fde2c93b702e2fca5fa19..476b051c000e167d367fff40ed64ef48a2680979 100644
|
| --- a/cc/ipc/quads_struct_traits.h
|
| +++ b/cc/ipc/quads_struct_traits.h
|
| @@ -386,6 +386,12 @@ struct StructTraits<cc::mojom::YUVVideoQuadState, cc::DrawQuad> {
|
| return quad->resource_multiplier;
|
| }
|
|
|
| + static uint32_t bits_per_channel(const cc::DrawQuad& input) {
|
| + const cc::YUVVideoDrawQuad* quad =
|
| + cc::YUVVideoDrawQuad::MaterialCast(&input);
|
| + return quad->bits_per_channel;
|
| + }
|
| +
|
| static bool Read(cc::mojom::YUVVideoQuadStateDataView data,
|
| cc::DrawQuad* out);
|
| };
|
|
|