Index: content/common/gpu_host_messages.h |
diff --git a/content/common/gpu_host_messages.h b/content/common/gpu_host_messages.h |
index d3ffe07ef0528f5b88d0a9b0c63fca31af8ac7ff..12166a25cd8af4a930171e3c7ec521c3b5e73fd8 100644 |
--- a/content/common/gpu_host_messages.h |
+++ b/content/common/gpu_host_messages.h |
@@ -31,6 +31,10 @@ |
#define IPC_MESSAGE_START GpuMsgStart |
+IPC_ENUM_TRAITS_VALIDATE(gpu::GpuPreferences::VpxDecodeVendors, |
+ ((value >= gpu::GpuPreferences::VPX_VENDOR_NONE) && |
+ (value <= gpu::GpuPreferences::VPX_VENDOR_ALL))) |
+ |
IPC_STRUCT_TRAITS_BEGIN(gpu::GPUMemoryUmaStats) |
IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_current) |
IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_max) |