| Index: cc/ipc/quads_struct_traits.h
|
| diff --git a/cc/ipc/quads_struct_traits.h b/cc/ipc/quads_struct_traits.h
|
| index a1e4e71af3aff9e829d0358709726ede076be606..e8916f0b0832b6c9ed5fe80a30aff72ec3f047c5 100644
|
| --- a/cc/ipc/quads_struct_traits.h
|
| +++ b/cc/ipc/quads_struct_traits.h
|
| @@ -389,6 +389,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);
|
| };
|
|
|