Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2157)

Unified Diff: ui/gfx/ipc/color/gfx_param_traits_macros.h

Issue 2502703002: Add more robust gfx::ColorSpace<->gfx::ICCProfile conversion (Closed)
Patch Set: Clean up includes Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/icc_profile.cc ('k') | ui/gfx/mojo/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/ipc/color/gfx_param_traits_macros.h
diff --git a/ui/gfx/ipc/color/gfx_param_traits_macros.h b/ui/gfx/ipc/color/gfx_param_traits_macros.h
index f63311ccda5ce2eb715c9dae252fa53ad66082fc..fcc824318915c2a0f81de63063ab8fc56fdb636a 100644
--- a/ui/gfx/ipc/color/gfx_param_traits_macros.h
+++ b/ui/gfx/ipc/color/gfx_param_traits_macros.h
@@ -24,8 +24,11 @@ IPC_ENUM_TRAITS_MAX_VALUE(gfx::ColorSpace::MatrixID,
IPC_ENUM_TRAITS_MAX_VALUE(gfx::ColorSpace::RangeID,
gfx::ColorSpace::RangeID::LAST);
+IPC_ENUM_TRAITS_MAX_VALUE(gfx::ICCProfile::Type, gfx::ICCProfile::Type::LAST);
+
IPC_STRUCT_TRAITS_BEGIN(gfx::ICCProfile)
- IPC_STRUCT_TRAITS_MEMBER(valid_)
+ IPC_STRUCT_TRAITS_MEMBER(type_)
+ IPC_STRUCT_TRAITS_MEMBER(color_space_)
IPC_STRUCT_TRAITS_MEMBER(data_)
IPC_STRUCT_TRAITS_MEMBER(id_)
IPC_STRUCT_TRAITS_END()
« no previous file with comments | « ui/gfx/icc_profile.cc ('k') | ui/gfx/mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698