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..b0b5d327f2655aba37a11e2f6fa9789469d91100 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::kVpxVendorNone) && |
+ (value <= gpu::GpuPreferences::kVpxVendorAll))) |
+ |
IPC_STRUCT_TRAITS_BEGIN(gpu::GPUMemoryUmaStats) |
IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_current) |
IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_max) |