| Index: ui/gfx/mojo/buffer_types_struct_traits.h
|
| diff --git a/ui/gfx/mojo/buffer_types_struct_traits.h b/ui/gfx/mojo/buffer_types_struct_traits.h
|
| index ad25a17c8ae6ff539d5d58a82815ea1f61c5e1ba..4b6f3df1d99566c5e7fe5f5008773794864cbe4c 100644
|
| --- a/ui/gfx/mojo/buffer_types_struct_traits.h
|
| +++ b/ui/gfx/mojo/buffer_types_struct_traits.h
|
| @@ -48,6 +48,8 @@ struct EnumTraits<gfx::mojom::BufferFormat, gfx::BufferFormat> {
|
| return gfx::mojom::BufferFormat::YUV_420_BIPLANAR;
|
| case gfx::BufferFormat::UYVY_422:
|
| return gfx::mojom::BufferFormat::UYVY_422;
|
| + case gfx::BufferFormat::YUYV_422:
|
| + return gfx::mojom::BufferFormat::YUYV_422;
|
| }
|
| NOTREACHED();
|
| return gfx::mojom::BufferFormat::LAST;
|
| @@ -106,6 +108,10 @@ struct EnumTraits<gfx::mojom::BufferFormat, gfx::BufferFormat> {
|
| return true;
|
| case gfx::mojom::BufferFormat::UYVY_422:
|
| *out = gfx::BufferFormat::UYVY_422;
|
| + return true;
|
| + case gfx::mojom::BufferFormat::YUYV_422:
|
| + *out = gfx::BufferFormat::YUYV_422;
|
| + return true;
|
| }
|
| NOTREACHED();
|
| return false;
|
|
|