From d21cddaa7548584bfcebefe9a03e857fee3a846b Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 23 Feb 2016 10:11:11 -0800 Subject: Remove many _CAPS structure names. They're technically not allowed because they are reserved for the preprocessor. Also get rid of LPC* typedefs along the way. Also provide a header for a data file containing many instance of these found along the way. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1722873002 . --- core/include/fxcodec/fx_codec.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'core/include') diff --git a/core/include/fxcodec/fx_codec.h b/core/include/fxcodec/fx_codec.h index 1c120aa0ab..c1842626f0 100644 --- a/core/include/fxcodec/fx_codec.h +++ b/core/include/fxcodec/fx_codec.h @@ -461,7 +461,7 @@ class ICodec_Jbig2Encoder { }; class ICodec_IccModule { public: - typedef enum { + enum IccCS { IccCS_Unknown = 0, IccCS_XYZ, IccCS_Lab, @@ -474,8 +474,9 @@ class ICodec_IccModule { IccCS_Rgb, IccCS_Cmyk, IccCS_Cmy - } IccCS; - typedef struct _IccParam { + }; + + struct IccParam { FX_DWORD Version; IccCS ColorSpace; FX_DWORD dwProfileType; @@ -483,7 +484,7 @@ class ICodec_IccModule { uint8_t* pProfileData; FX_DWORD dwProfileSize; double Gamma; - } IccParam; + }; virtual ~ICodec_IccModule() {} -- cgit v1.2.3